home *** CD-ROM | disk | FTP | other *** search
/ Aminet 43 / Aminet 43 (2001)(GTI - Schatztruhe)[!][Jun 2001].iso / Aminet / comm / www / Lynx.lha / Lynx284 / lib / lynx.cfg
Text File  |  2001-01-25  |  130KB  |  3,087 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. #
  6. # Definition pairs are of the form  VARIABLE:DEFINITION
  7. # NO spaces are allowed between the pair items.
  8. #
  9. #  If you do not have write access to /usr/local/lib you may change
  10. #  the default location of this file in the userdefs.h file and recompile,
  11. #  or specify its location on the command line with the "-cfg"
  12. #  command line option.
  13. #
  14. # Items may be commented out by putting a '#' as the FIRST char of the line
  15. # (Any line beginning with punctuation is ignored).  Leading blanks on each
  16. # line are ignored; trailing blanks may be significant depending on the option.
  17.  
  18. # An HTML'ized description of all settings (based on comments in this file,
  19. # with alphabetical table of settings and with table of settings by category)
  20. # is available at http://www.hippo.ru/~hvv/lynxcfg_toc.html
  21. #
  22. ### The conversion is done via the scripts/cfg2html.pl script.
  23. ### Several directives beginning with '.' are used for this purpose.
  24.  
  25.  
  26. .h1 Auxiliary Facilities
  27. # These settings control the auxiliary navigating facilities of lynx, e.g.,
  28. # jumpfiles, bookmarks, default URLs.
  29.  
  30.  
  31. .h2 INCLUDE
  32. # Starting with Lynx 2.8.1, the lynx.cfg file has a crude "include"
  33. # facility.  This means that you can take advantage of the global lynx.cfg
  34. # while also supplying your own tweaks.
  35. #
  36. # You can use a command-line argument (-cfg /where/is/lynx.cfg) or an
  37. # environment variable (LYNX_CFG=/where/is/lynx.cfg).
  38. # For instance, put in your .profile or .login:
  39. #
  40. #   LYNX_CFG=~/lynx.cfg; export LYNX_CFG   # in .profile for sh/ksh/bash/etc.
  41. #   setenv LYNX_CFG ~/lynx.cfg             # in .login for [t]csh
  42. #
  43. # Then in ~/lynx.cfg:
  44. #
  45. #   INCLUDE:/usr/local/lib/lynx.cfg
  46. #           ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
  47. # and now your own tweaks.
  48. #
  49. # Starting with Lynx 2.8.2, the INCLUDE facility is yet more powerful.  You can
  50. # suppress all but specific settings that will be read from included files.
  51. # This allows sysadmins to provide users the ability to customize lynx with
  52. # options that normally do not affect security, such as COLOR, VIEWER, KEYMAP.
  53. #
  54. # The syntax is
  55. #
  56. #   INCLUDE:filename for <space-separated-list-of-allowed-settings>
  57. #
  58. # sample:
  59. .ex
  60. #INCLUDE:~/lynx.cfg for COLOR VIEWER KEYMAP
  61. # only one space character should surround the word 'for'.  On Unix systems ':'
  62. # is also accepted as separator.  In that case, the example can be written as
  63. .ex
  64. #INCLUDE:~/lynx.cfg:COLOR VIEWER KEYMAP
  65. # In the example, only the settings COLOR, VIEWER and KEYMAP are accepted by
  66. # lynx.  Other settings are ignored.  Note:  INCLUDE is also treated as a
  67. # setting, so to allow an included file to include other files, put INCLUDE in
  68. # the list of allowed settings.
  69. #
  70. # If you allow an included file to include other files, and if a list of
  71. # allowed settings is specified for that file with the INCLUDE command, nested
  72. # files are only allowed to include the list of settings that is the set AND of
  73. # settings allowed for the included file and settings allowed by nested INCLUDE
  74. # commands.  In short, there is no security hole introduced by including a
  75. # user-defined configuration file if the original list of allowed settings is
  76. # secure.
  77.  
  78.  
  79. .h2 STARTFILE
  80. # STARTFILE is the default starting URL if none is specified
  81. #   on the command line or via a WWW_HOME environment variable;
  82. #   Lynx will refuse to start without a starting URL of some kind.
  83. # STARTFILE can be remote, e.g. http://www.w3.org/default.html ,
  84. #                or local, e.g. file://localhost/PATH_TO/FILENAME ,
  85. #           where PATH_TO is replaced with the complete path to FILENAME
  86. #           using Unix shell syntax and including the device on VMS.
  87. #
  88. # Normally we expect you will connect to a remote site, e.g., the Lynx starting
  89. # site:
  90. #STARTFILE:http://lynx.browser.org/
  91. #
  92. # As an alternative, you may want to use a local URL.  A good choice for this is
  93. # the user's home directory:
  94. .ex
  95. STARTFILE:file://localhost/home/BM.html
  96. #
  97. # Your choice of STARTFILE should reflect your site's needs, and be a URL that
  98. # you can connect to reliably.  Otherwise users will become confused and think
  99. # that they cannot run Lynx.
  100.  
  101.  
  102. .h2 HELPFILE
  103. # HELPFILE must be defined as a URL and must have a
  104. # complete path if local:
  105. # file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  106. #   Replace PATH_TO with the path to the lynx_help subdirectory
  107. #   for this distribution (use SHELL syntax including the device
  108. #   on VMS systems).
  109. # The default HELPFILE is:
  110. # http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
  111. #   This should be changed to the local path.
  112. #
  113. HELPFILE:http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
  114. .ex
  115. #HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  116.  
  117.  
  118. .h2 DEFAULT_INDEX_FILE
  119. # DEFAULT_INDEX_FILE is the default file retrieved when the
  120. # user presses the 'I' key when viewing any document.
  121. # An index to your CWIS can be placed here or a document containing
  122. # pointers to lots of interesting places on the web.
  123. #
  124. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  125.  
  126.  
  127. .h1 Interaction
  128.  
  129. .h2 GOTOBUFFER
  130. # Set GOTOBUFFER to TRUE if you want to have the previous goto URL,
  131. # if any, offered for reuse or editing when using the 'g'oto command.
  132. # The default is defined in userdefs.h.  If left FALSE, the circular
  133. # buffer of previously entered goto URLs can still be invoked via the
  134. # Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
  135. #
  136. #GOTOBUFFER:FALSE
  137.  
  138.  
  139. .h2 JUMP_PROMPT
  140. # JUMP_PROMPT is the default statusline prompt for selecting a jumps file
  141. # shortcut.  (see below).
  142. # You can change the prompt here from that defined in userdefs.h.  Any
  143. # trailing white space will be trimmed, and a single space is added by Lynx
  144. # following the last non-white character.  You must set the default prompt
  145. # before setting the default jumps file (below).  If a default jumps file
  146. # was set via userdefs.h, and you change the prompt here, you must set the
  147. # default jumps file again (below) for the change to be implemented.
  148. #
  149. #JUMP_PROMPT:Jump to (use '?' for list):
  150.  
  151.  
  152. .h1 Auxiliary Facilities
  153.  
  154. .h2 JUMPFILE
  155. # JUMPFILE is the local file checked for short-cut names for URLs
  156. # when the user presses the 'j' (JUMP) key.  The user will be prompted
  157. # to enter a short-cut name for an URL, which Lynx will then follow
  158. # in a similar manner to 'g'oto; alternatively, s/he can enter '?'
  159. # to view the full JUMPFILE list of short-cuts with associated URLs.
  160. # There is an example jumps file in the samples subdirectory.
  161. # If not defined here or in userdefs.h, the JUMP command will invoke
  162. # the NO_JUMPFILE statusline message (see  LYMessages_en.h ).
  163. #
  164. # To allow '?' to work, include in the JUMPFILE
  165. # a short-cut to the JUMPFILE itself, e.g.
  166. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  167. #
  168. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  169. #
  170. # Alternate jumps files can be defined and mapped to keys here.  If the
  171. # keys have already been mapped, then those mappings will be replaced,
  172. # but you should leave at least one key mapped to the default jumps
  173. # file.  You optionally may include a statusline prompt string for the
  174. # mapping.  You must map upper and lowercase keys separately (beware of
  175. # mappings to keys which the user can further remap via the 'o'ptions
  176. # menu).  The format is:
  177. #
  178. #    JUMPFILE:path:key[:prompt]
  179. #
  180. # where path should begin with a '/' (i.e., not include file://localhost).
  181. # Any white space following a prompt string will be trimmed, and a single
  182. # space will be added by Lynx.
  183. #
  184. # In the following line, include the actual full local path to JUMPFILE,
  185. # but do not include 'file://localhost' in the line.
  186. #JUMPFILE:/FULL_LOCAL_PATH/jumps.html
  187. .ex
  188. #JUMPFILE:/Lynx_Dir/ips.html:i:IP or Interest group (? for list):
  189.  
  190.  
  191. .h2 JUMPBUFFER
  192. # Set JUMPBUFFER to TRUE if you want to have the previous jump target,
  193. # if any, offered for reuse or editing when using the 'J'ump command.
  194. # The default is defined in userdefs.h.  If left FALSE, the circular
  195. # buffer of previously entered targets (shortcuts) can still be invoked
  196. # via the Up-Arrow or Down-Arrow keys after entering the 'J'ump command.
  197. # If multiple jumps files are installed, the recalls of shortcuts will
  198. # be specific to each file.  If Lynx was built with PERMIT_GOTO_FROM_JUMP
  199. # defined, any random URLs used instead of shortcuts will be stored in the
  200. # goto URL buffer, not in the shortcuts buffer(s), and the single character
  201. # ':' can be used as a target to invoke the goto URL buffer (as if 'g'oto
  202. # followed by Up-Arrow had been entered).
  203. #
  204. #JUMPBUFFER:FALSE
  205.  
  206.  
  207. .h1 Internal Behavior
  208.  
  209. .h2 SAVE_SPACE
  210. # If SAVE_SPACE is defined, it will be used as a path prefix for the
  211. # suggested filename in "Save to Disk" operations from the 'p'rint or
  212. # 'd'ownload menus.  On VMS, you can use either VMS (e.g., "SYS$LOGIN:")
  213. # or Unix syntax (including '~' for the HOME directory).  On Unix, you
  214. # must use Unix syntax.  If the symbol is not defined, or is zero-length
  215. # (""), no prefix will be used, and only a filename for saving in the
  216. # current default directory will be suggested.
  217. # This definition will be overridden if a "LYNX_SAVE_SPACE" environment
  218. # variable has been set on Unix, or logical has been defined on VMS.
  219. #
  220. #SAVE_SPACE:~/foo/
  221.  
  222.  
  223. .h2 REUSE_TEMPFILES
  224. # Lynx uses temporary files for (among other purposes) the content of
  225. # various user interface pages.  REUSE_TEMPFILES changes the behavior
  226. # for some of these temp files, among them pages shown for HISTORY,
  227. # VLINKS, OPTIONS, INFO, PRINT, DOWNLOAD commands.
  228. # If set to TRUE, the same file can be used multiple times for the same
  229. # purpose.  If set to FALSE, a new filename is generated each time before
  230. # rewriting such a page.  With TRUE, repeated invocation of these commands
  231. # is less likely to push previous documents out of the cache of rendered
  232. # texts (see also DEFAULT_CACHE_SIZE).  This is especially useful with
  233. # intermittent (dialup) network connections, when it is desirable to
  234. # continue browsing through the cached documents after disconnecting.
  235. # With the default setting of FALSE, there can be more than one incarnation
  236. # of e.g. the VLINKS page cached in memory (but still only the most recently
  237. # generated one is kept as a file), resulting in sometimes less surprising
  238. # behaviour when returning to such a page via HISTORY or PREV_DOC functions
  239. # (most users will not encounter and notice this difference).
  240. #
  241. #REUSE_TEMPFILES:FALSE
  242.  
  243.  
  244. .h2 LYNX_HOST_NAME
  245. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  246. # treated as an alias for the local host name in checks for URLs on
  247. # the local host (e.g., when the -localhost switch is set), and this
  248. # host name, "localhost", and HTHostName (the fully qualified domain
  249. # name of the system on which Lynx is running) will all be passed as
  250. # local.  A different definition here will override that in userdefs.h.
  251. #
  252. #LYNX_HOST_NAME:www.cc.ukans.edu
  253.  
  254.  
  255. .h2 LOCALHOST_ALIAS
  256. # localhost aliases
  257. # Any LOCALHOST_ALIAS definitions also will be accepted as local when
  258. # the -localhost switch is set.  These need not actually be local, i.e.,
  259. # in contrast to LYNX_HOST_NAME, you can define them to trusted hosts at
  260. # other Internet sites.
  261. #
  262. .ex 2
  263. #LOCALHOST_ALIAS:gopher.server.domain
  264. #LOCALHOST_ALIAS:news.server.domain
  265.  
  266.  
  267. .h2 LOCAL_DOMAIN
  268. # LOCAL_DOMAIN is used for a tail match with the ut_host element of
  269. # the utmp or utmpx structure on systems with utmp capabilities, to
  270. # determine if a user is local to your campus or organization when
  271. # handling -restrictions=inside_foo or outside_foo settings for ftp,
  272. # news, telnet/tn3270 and rlogin URLs.  An "inside" user is assumed
  273. # if your system does not have utmp capabilities.  CHANGE THIS here
  274. # if it was not changed in userdefs.h at compilation time.
  275. #
  276. #LOCAL_DOMAIN:ukans.edu
  277.  
  278.  
  279. .h1 Character sets
  280.  
  281. .h2 CHARACTER_SET
  282. # CHARACTER_SET defines the display character set, i.e., assumed to be
  283. # installed on the user's terminal.  It determines which characters or strings
  284. # will be used to represent 8-bit character entities within HTML.  New
  285. # character sets may be defined as explained in the README files of the
  286. # src/chrtrans directory in the Lynx source code distribution.  For Asian (CJK)
  287. # character sets, it also determines how Kanji code will be handled.  The
  288. # default is defined in userdefs.h and can be changed here or via the
  289. # 'o'ptions menu.  The 'o'ptions menu setting will be stored in the user's RC
  290. # file whenever those settings are saved, and thereafter will be used as the
  291. # default.  For Lynx a "character set" has two names:  a MIME name (for
  292. # recognizing properly labeled charset parameters in HTTP headers etc.), and a
  293. # human-readable string for the 'O'ptions Menu (so you may find info about
  294. # language or group of languages besides MIME name).  Not all 'human-readable'
  295. # names correspond to exactly one valid MIME charset (example is "Chinese");
  296. # in that case an appropriate valid (and more specific) MIME name should be
  297. # used where required.  Well-known synonyms are also processed in the code.
  298. #
  299. # Raw (CJK) mode
  300. #
  301. # Lynx normally translates characters from a document's charset to display
  302. # charset, using ASSUME_CHARSET value (see below) if the document's charset
  303. # is not specified explicitly.  Raw (CJK) mode is OFF for this case.
  304. # When the document charset is specified explicitly, that charset
  305. # overrides any assumption like ASSUME_CHARSET or raw (CJK) mode.
  306. #
  307. # For the Asian (CJK) display character sets, the corresponding charset is
  308. # assumed in documents, i.e., raw (CJK) mode is ON by default.  In raw CJK
  309. # mode, 8-bit characters are not reverse translated in relation to the entity
  310. # conversion arrays, i.e., they are assumed to be appropriate for the display
  311. # character set.  The mode should be toggled OFF when an Asian (CJK) display
  312. # character set is selected but the document is not CJK and its charset not
  313. # specified explicitly.
  314. #
  315. # Raw (CJK) mode may be toggled by user via '@' (LYK_RAW_TOGGLE) key,
  316. # the -raw command line switch or from the 'o'ptions menu.
  317. #
  318. # Raw (CJK) mode effectively changes the charset assumption about unlabeled
  319. # documents.  You can toggle raw mode ON if you believe the document has a
  320. # charset which does correspond to your Display Character Set.  On the other
  321. # hand, if you set ASSUME_CHARSET the same as Display Character Set you get raw
  322. # mode ON by default (but you get assume_charset=iso-8859-1 if you try raw mode
  323. # OFF after it).
  324. #
  325. # Note that "raw" does not mean that every byte will be passed to the screen.
  326. # HTML character entities may get expanded and translated, inappropriate
  327. # control characters filtered out, etc.  There is a "Transparent" pseudo
  328. # character set for more "rawness".
  329. #
  330. # Since Lynx now supports a wide range of platforms it may be useful to note
  331. # the cpXXX codepages used by IBM PC compatible computers, and windows-xxxx
  332. # used by native MS-Windows apps.  We also note that cpXXX pages rarely are
  333. # found on Internet, but are mostly for local needs on DOS.
  334. #
  335. # Recognized character sets include:
  336. #
  337. .nf
  338. #    string for 'O'ptions Menu          MIME name
  339. #    ===========================        =========
  340. #    7 bit approximations (US-ASCII)    us-ascii
  341. #    Western (ISO-8859-1)               iso-8859-1
  342. #    Western (ISO-8859-15)              iso-8859-15
  343. #    Western (cp850)                    cp850
  344. #    Western (windows-1252)             windows-1252
  345. #    IBM PC US codepage (cp437)         cp437
  346. #    DEC Multinational                  dec-mcs
  347. #    Macintosh (8 bit)                  macintosh
  348. #    NeXT character set                 next
  349. #    HP Roman8                          hp-roman8
  350. #    Chinese                            euc-cn
  351. #    Japanese (EUC-JP)                  euc-jp
  352. #    Japanese (Shift_JIS)               shift_jis
  353. #    Korean                             euc-kr
  354. #    Taipei (Big5)                      big5
  355. #    Vietnamese (VISCII)                viscii
  356. #    Eastern European (ISO-8859-2)      iso-8859-2
  357. #    Eastern European (cp852)           cp852
  358. #    Eastern European (windows-1250)    windows-1250
  359. #    Latin 3 (ISO-8859-3)               iso-8859-3
  360. #    Latin 4 (ISO-8859-4)               iso-8859-4
  361. #    Baltic Rim (cp775)                 cp775
  362. #    Baltic Rim (windows-1257)          windows-1257
  363. #    Cyrillic (ISO-8859-5)              iso-8859-5
  364. #    Cyrillic (cp866)                   cp866
  365. #    Cyrillic (windows-1251)            windows-1251
  366. #    Cyrillic (KOI8-R)                  koi8-r
  367. #    Arabic (ISO-8859-6)                iso-8859-6
  368. #    Arabic (cp864)                     cp864
  369. #    Arabic (windows-1256)              windows-1256
  370. #    Greek (ISO-8859-7)                 iso-8859-7
  371. #    Greek (cp737)                      cp737
  372. #    Greek2 (cp869)                     cp869
  373. #    Greek (windows-1253)               windows-1253
  374. #    Hebrew (ISO-8859-8)                iso-8859-8
  375. #    Hebrew (cp862)                     cp862
  376. #    Hebrew (windows-1255)              windows-1255
  377. #    Turkish (ISO-8859-9)               iso-8859-9
  378. #    ISO-8859-10                        iso-8859-10
  379. #    Ukrainian Cyrillic (cp866u)        cp866u
  380. #    Ukrainian Cyrillic (KOI8-U)        koi8-u
  381. #    UNICODE (UTF-8)                    utf-8
  382. #    RFC 1345 w/o Intro                 mnemonic+ascii+0
  383. #    RFC 1345 Mnemonic                  mnemonic
  384. #    Transparent                        x-transparent
  385. .fi
  386. #
  387. # The value should be the MIME name of a character set recognized by
  388. # Lynx (case insensitive).
  389. # Find RFC 1345 at http://www.ics.uci.edu/pub/ietf/uri/rfc1345.txt .
  390. #
  391. #CHARACTER_SET:iso-8859-1
  392.  
  393.  
  394. .h2 ASSUME_CHARSET
  395. # ASSUME_CHARSET changes the handling of documents which do not
  396. # explicitly specify a charset.  Normally Lynx assumes that 8-bit
  397. # characters in those documents are encoded according to iso-8859-1
  398. # (the official default for the HTTP protocol).  When ASSUME_CHARSET
  399. # is defined here or by an -assume_charset command line flag is in effect,
  400. # Lynx will treat documents as if they were encoded accordingly.
  401. # See above on how this interacts with "raw mode" and the Display
  402. # Character Set.
  403. # ASSUME_CHARSET can also be changed via the 'o'ptions menu but will
  404. # not be saved as permanent value in user's .lynxrc file to avoid more chaos.
  405. #
  406. #ASSUME_CHARSET:iso-8859-1
  407.  
  408.  
  409. .h2 ASSUMED_DOC_CHARSET_CHOICE
  410. .h2 DISPLAY_CHARSET_CHOICE
  411. # It is possible to reduce the number of charset choices in the 'O'ptions menu
  412. # for "display charset" and "assumed document charset" fields via
  413. # DISPLAY_CHARSET_CHOICE and ASSUMED_DOC_CHARSET_CHOICE settings correspondingly.
  414. # Each of these settings can be used several times to define the set of possible
  415. # choices for corresponding field. The syntax for the values is
  416. #
  417. #    string | prefix* | *
  418. #
  419. # where
  420. #
  421. #    'string' is either the MIME name of charset or it's full name (listed
  422. #        either in the left or in the right column of table of
  423. #        recognized charsets), case-insensitive - e.g.  'Koi8-R' or
  424. #        'Cyrillic (KOI8-R)' (both without quotes),
  425. #
  426. #    'prefix' is any string, and such value will select all charsets having
  427. #        the name with prefix matching given (case insensitive), i.e.,
  428. #        for the charsets listed in the table of recognized charsets,
  429. #
  430. .ex
  431. # ASSUMED_DOC_CHARSET_CHOICE:cyrillic*
  432. #        will be equal to specifying
  433. .ex 4
  434. # ASSUMED_DOC_CHARSET_CHOICE:cp866
  435. # ASSUMED_DOC_CHARSET_CHOICE:windows-1251
  436. # ASSUMED_DOC_CHARSET_CHOICE:koi8-r
  437. # ASSUMED_DOC_CHARSET_CHOICE:iso-8859-5
  438. #        or lines with full names of charsets.
  439. #
  440. #    literal string '*' (without quotes) will enable all charset choices
  441. #        in corresponding field.  This is useful for overriding site
  442. #        defaults in private pieces of lynx.cfg included via INCLUDE
  443. #        directive.
  444. #
  445. # Default values for both settings are '*', but any occurrence of settings
  446. # with values that denote any charsets will make only listed choices available
  447. # for corresponding field.
  448. #ASSUMED_DOC_CHARSET_CHOICE:*
  449. #DISPLAY_CHARSET_CHOICE:*
  450.  
  451.  
  452. .h2 ASSUME_LOCAL_CHARSET
  453. # ASSUME_LOCAL_CHARSET is like ASSUME_CHARSET but only applies to local
  454. # files.  If no setting is given here or by an -assume_local_charset
  455. # command line option, the value for ASSUME_CHARSET or -assume_charset
  456. # is used.  It works for both text/plain and text/html files.
  457. # This option will ignore "raw mode" toggling when local files are viewed
  458. # (it is "stronger" than "assume_charset" or the effective change
  459. # of the charset assumption caused by changing "raw mode"),
  460. # so only use when necessary.
  461. #
  462. #ASSUME_LOCAL_CHARSET:iso-8859-1
  463.  
  464.  
  465. .h2 PREPEND_CHARSET_TO_SOURCE
  466. # PREPEND_CHARSET_TO_SOURCE:TRUE tells Lynx to prepend a META CHARSET line
  467. # to text/html source files when they are retrieved for 'd'ownloading
  468. # or passed to 'p'rint functions, so HTTP headers will not be lost.
  469. # This is necessary for resolving charset for local html files,
  470. # while the assume_local_charset is just an assumption.
  471. # For the 'd'ownload option, a META CHARSET will be added only if the HTTP
  472. # charset is present.  The compilation default is TRUE.
  473. # It is generally desirable to have charset information for every local
  474. # html file, but META CHARSET string potentially could cause
  475. # compatibility problems with other browsers, see also PREPEND_BASE_TO_SOURCE.
  476. # Note that the prepending is not done for -source dumps.
  477. #
  478. #PREPEND_CHARSET_TO_SOURCE:TRUE
  479.  
  480.  
  481. .h2 NCR_IN_BOOKMARKS
  482. # NCR_IN_BOOKMARKS:TRUE allows you to save 8-bit characters in bookmark titles
  483. # in the unicode format (NCR).  This may be useful if you need to switch
  484. # display charsets frequently.  This is the case when you use Lynx on different
  485. # platforms, e.g., on UNIX and from a remote PC, and want to keep the bookmarks
  486. # file persistent.
  487. # Another aspect is compatibility:  NCR is part of I18N and HTML4.0
  488. # specifications supported starting with Lynx 2.7.2, Netscape 4.0 and MSIE 4.0.
  489. # Older browser versions will fail so keep NCR_IN_BOOKMARKS:FALSE if you
  490. # plan to use them.
  491. #
  492. #NCR_IN_BOOKMARKS:FALSE
  493.  
  494.  
  495. .h2 FORCE_8BIT_TOUPPER
  496. # FORCE_8BIT_TOUPPER overrides locale settings and uses internal 8-bit
  497. # case-conversion mechanism for case-insensitive searches in non-ASCII display
  498. # character sets.  It is FALSE by default and should not be changed unless
  499. # you encounter problems with case-insensitive searches.
  500. #
  501. #FORCE_8BIT_TOUPPER:FALSE
  502.  
  503.  
  504. .h2 OUTGOING_MAIL_CHARSET
  505. # While Lynx supports different platforms and display character sets
  506. # we need to limit the charset in outgoing mail to reduce
  507. # trouble for remote recipients who may not recognize our charset.
  508. # You may try US-ASCII as the safest value (7 bit), any other MIME name,
  509. # or leave this field blank (default) to use the display character set.
  510. # Charset translations currently are implemented for mail "subjects= " only.
  511. #
  512. #OUTGOING_MAIL_CHARSET:
  513.  
  514.  
  515. .h2 ASSUME_UNREC_CHARSET
  516. # If Lynx encounters a charset parameter it doesn't recognize, it will
  517. # replace the value given by ASSUME_UNREC_CHARSET (or a corresponding
  518. # -assume_unrec_charset command line option) for it.  This can be used
  519. # to deal with charsets unknown to Lynx, if they are "sufficiently
  520. # similar" to one that Lynx does know about, by forcing the same
  521. # treatment.  There is no default, and you probably should leave this
  522. # undefined unless necessary.
  523. #
  524. #ASSUME_UNREC_CHARSET:iso-8859-1
  525.  
  526. .h2 PREFERRED_LANGUAGE
  527. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  528. # "fr") which will be indicated by Lynx in its Accept-Language headers
  529. # as the preferred language.  If available, the document will be
  530. # transmitted in that language.  Users can override this setting via
  531. # the 'o'ptions menu and save that preference in their RC file.
  532. # This may be a comma-separated list of languages in decreasing preference.
  533. #
  534. #PREFERRED_LANGUAGE:en
  535.  
  536.  
  537. .h2 PREFERRED_CHARSET
  538. # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  539. # "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
  540. # requests to http servers using an Accept-Charsets header.  Users can
  541. # change it via the 'o'ptions menu and save that preference in their RC file.
  542. # The value should NOT include "ISO-8859-1" or "US-ASCII",
  543. # since those values are always assumed by default.
  544. # If a file in that character set is available, the server will send it.
  545. # If no Accept-Charset header is present, the default is that any
  546. # character set is acceptable.  If an Accept-Charset header is present,
  547. # and if the server cannot send a response which is acceptable
  548. # according to the Accept-Charset header, then the server SHOULD send
  549. # an error response with the 406 (not acceptable) status code, though
  550. # the sending of an unacceptable response is also allowed.  See RFC 2068
  551. # (http://www.ics.uci.edu/pub/ietf/uri/rfc2068.txt).
  552. #
  553. #PREFERRED_CHARSET:
  554.  
  555.  
  556. .h1 Interaction
  557.  
  558. .h2 URL_DOMAIN_PREFIXES
  559. .h2 URL_DOMAIN_SUFFIXES
  560. # URL_DOMAIN_PREFIXES and URL_DOMAIN_SUFFIXES are strings which will be
  561. # prepended (together with a scheme://) and appended to the first element
  562. # of command line or 'g'oto arguments which are not complete URLs and
  563. # cannot be opened as a local file (file://localhost/string).  Both
  564. # can be comma-separated lists.  Each prefix must end with a dot, each
  565. # suffix must begin with a dot, and either may contain other dots (e.g.,
  566. # .com.jp).  The default lists are defined in userdefs.h and can be
  567. # replaced here.  Each prefix will be used with each suffix, in order,
  568. # until a valid Internet host is created, based on a successful DNS
  569. # lookup (e.g., foo will be tested as www.foo.com and then www.foo.edu
  570. # etc.).  The first element can include a :port and/or /path which will
  571. # be restored with the expanded host (e.g., wfbr:8002/dir/lynx will
  572. # become http://www.wfbr.edu:8002/dir/lynx).  The prefixes will not be
  573. # used if the first element ends in a dot (or has a dot before the
  574. # :port or /path), and similarly the suffixes will not be used if the
  575. # the first element begins with a dot (e.g., .nyu.edu will become
  576. # http://www.nyu.edu without testing www.nyu.com).  Lynx will try to
  577. # guess the scheme based on the first field of the expanded host name,
  578. # and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  579. # will be made gopher://gopher.wfbr.edu).
  580. #
  581. #URL_DOMAIN_PREFIXES:www.
  582. #URL_DOMAIN_SUFFIXES:.com,.edu,.net,.org
  583.  
  584.  
  585. .h2 FORMS_OPTIONS
  586. # Toggle whether the Options Menu is key-based or form-based;
  587. # the key-based version is available only if specified at compile time.
  588. #FORMS_OPTIONS:TRUE
  589.  
  590.  
  591. .h2 PARTIAL
  592. # Display partial pages while downloading
  593. #PARTIAL:TRUE
  594.  
  595.  
  596. .h2 PARTIAL_THRES
  597. # Set the threshold # of lines Lynx must render before it
  598. # redraws the screen in PARTIAL mode.  Anything < 0 implies
  599. # use of the screen size.
  600. #PARTIAL_THRES:-1
  601.  
  602.  
  603. .h2 SHOW_KB_RATE
  604. # While getting large files, Lynx shows the approximate rate of transfer.
  605. # Set this to change the units shown:
  606. # TRUE for KB/sec or FALSE for bytes/sec:  default is TRUE.
  607. SHOW_KB_RATE:FALSE
  608.  
  609.  
  610. .h1 Timeouts
  611.  
  612. .h2 INFOSECS
  613. .h2 MESSAGESECS
  614. .h2 ALERTSECS
  615. # The following three definitions set the number of seconds for
  616. # pauses following statusline messages that would otherwise be
  617. # replaced immediately, and are more important than the unpaused
  618. # progress messages.  Those set by INFOSECS are also basically
  619. # progress messages (e.g., that a prompted input has been canceled)
  620. # and should have the shortest pause.  Those set by MESSAGESECS are
  621. # informational (e.g., that a function is disabled) and should have
  622. # a pause of intermediate duration.  Those set by ALERTSECS typically
  623. # report a serious problem and should be paused long enough to read
  624. # whenever they appear (typically unexpectedly).  The default values
  625. # are defined in userdefs.h, and can be modified here should longer
  626. # pauses be desired for braille-based access to Lynx.
  627. #
  628. #INFOSECS:1
  629. #MESSAGESECS:2
  630. #ALERTSECS:3
  631.  
  632.  
  633. .h1 Appearance
  634. # These settings category control the appearance of Lynx's screen and the way
  635. # Lynx renders some tags.
  636.  
  637. .h2 USE_SELECT_POPUPS
  638. # If USE_SELECT_POPUPS is set FALSE, Lynx will present a vertical list of
  639. # radio buttons for the OPTIONs in SELECT blocks which lack the MULTIPLE
  640. # attribute, instead of using a popup menu.  Note that if the MULTIPLE
  641. # attribute is present in the SELECT start tag, Lynx always will create a
  642. # vertical list of checkboxes for the OPTIONs.
  643. # The default defined here or in userdefs.h can be changed via the 'o'ptions
  644. # menu and saved in the RC file, and always can be toggled via the -popup
  645. # command line switch.
  646. #
  647. #USE_SELECT_POPUPS:TRUE
  648.  
  649.  
  650. .h2 SHOW_CURSOR
  651. # SHOW_CURSOR controls whether or not the cursor is hidden or appears
  652. # over the current link in documents or the current option in popups.
  653. # Showing the cursor is handy if you are a sighted user with a poor
  654. # terminal that can't do bold and reverse video at the same time or
  655. # at all.  It also can be useful to blind users, as an alternative
  656. # or supplement to setting LINKS_AND_FIELDS_ARE_NUMBERED or
  657. # LINKS_ARE_NUMBERED.
  658. # The default defined here or in userdefs.h can be changed via the
  659. # 'o'ptions menu and saved in the RC file, and always can be toggled
  660. # via the -show_cursor command line switch.
  661. #
  662. #SHOW_CURSOR:FALSE
  663.  
  664.  
  665. .h2 BOLD_HEADERS
  666. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be acted
  667. # upon for <H1> through <H6> headers.  The compilation default is FALSE
  668. # (only the indentation styles are acted upon, but see BOLD_H1, below).
  669. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  670. # HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  671. #
  672. #BOLD_HEADERS:FALSE
  673.  
  674.  
  675. .h2 BOLD_H1
  676. # If BOLD_H1 is set to TRUE the HT_BOLD default style will be acted
  677. # upon for <H1> headers even if BOLD_HEADERS is FALSE.  The compilation
  678. # default is FALSE.  On Unix, compilation with -DUNDERLINE_LINKS also
  679. # will apply to the HT_BOLD style for headers when BOLD_H1 is TRUE.
  680. #
  681. #BOLD_H1:FALSE
  682.  
  683.  
  684. .h2 BOLD_NAME_ANCHORS
  685. # If BOLD_NAME_ANCHORS is set to TRUE the content of anchors without
  686. # an HREF attribute, (i.e., anchors with a NAME or ID attribute) will
  687. # have the HT_BOLD default style.  The compilation default is FALSE.
  688. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  689. # HT_BOLD style for NAME (ID) anchors when BOLD_NAME_ANCHORS is TRUE.
  690. #
  691. #BOLD_NAME_ANCHORS:FALSE
  692.  
  693.  
  694. .h1 Internal Behavior
  695.  
  696. .h2 DEFAULT_CACHE_SIZE
  697. .h2 DEFAULT_VIRTUAL_MEMORY_SIZE
  698. # The DEFAULT_CACHE_SIZE specifies the number of WWW documents to be
  699. # cached in memory at one time.
  700. #
  701. # This so-called cache size (actually, number) is defined in userdefs.h and
  702. # may be modified here and/or with the command line argument -cache=NUMBER
  703. # The minimum allowed value is 2, for the current document and at least one
  704. # to fetch, and there is no absolute maximum number of cached documents.
  705. # On Unix, and VMS not compiled with VAXC, whenever the number is exceeded
  706. # the least recently displayed document will be removed from memory.
  707. #
  708. # On VMS compiled with VAXC, the DEFAULT_VIRTUAL_MEMORY_SIZE specifies the
  709. # amount (bytes) of virtual memory that can be allocated and not yet be freed
  710. # before previous documents are removed from memory.  If the values for both
  711. # the DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE are exceeded, then
  712. # the least recently displayed documents will be freed until one or the other
  713. # value is no longer exceeded.  The default value is defined in userdefs.h.
  714. #
  715. # The Unix and VMS (but not VAXC) implementations use the C library malloc's
  716. # and calloc's for memory allocation, but procedures for taking the actual
  717. # amount of cache into account still need to be developed.  They use only
  718. # the DEFAULT_CACHE_SIZE value, and that specifies the absolute maximum
  719. # number of documents to cache (rather than the maximum number only if
  720. # DEFAULT_VIRTUAL_MEMORY_SIZE has been exceeded, as with VAXC/VAX).
  721. #
  722. DEFAULT_CACHE_SIZE:30
  723. DEFAULT_VIRTUAL_MEMORY_SIZE:1024000
  724.  
  725.  
  726. .h2 SOURCE_CACHE
  727. # SOURCE_CACHE sets the source caching behavior for Lynx:
  728. # FILE causes Lynx to keep a temporary file for each cached document
  729. #   containing the HTML source of the document, which it uses to regenerate
  730. #   the document when certain settings are changed (for instance,
  731. #   historical vs. minimal vs. valid comment parsing) instead of reloading
  732. #   the source from the network.
  733. # MEMORY is like FILE, except the document source is kept in memory.  You
  734. #   may wish to adjust DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE
  735. #   accordingly.
  736. # NONE is the default; the document source is not cached, and is reloaded
  737. #   from the network when needed.
  738. #
  739. SOURCE_CACHE:NONE
  740.  
  741.  
  742. .h2 ALWAYS_RESUBMIT_POSTS
  743. # If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
  744. # with method POST, dumping any cache from a previous submission of the
  745. # form, including when the document returned by that form is sought with
  746. # the PREV_DOC command or via the history list.  Lynx always resubmits
  747. # forms with method POST when a submit button or a submitting text input
  748. # is activated, but normally retrieves the previously returned document
  749. # if it had links which you activated, and then go back with the PREV_DOC
  750. # command or via the history list.
  751. #
  752. # The default defined here or in userdefs.h can be toggled via
  753. # the -resubmit_forms command line switch.
  754. #
  755. #ALWAYS_RESUBMIT_POSTS:FALSE
  756.  
  757.  
  758. .h1 HTML Parsing
  759.  
  760. .h2 NO_ISMAP_IF_USEMAP
  761. # If NO_ISMAP_IF_USEMAP is set TRUE, Lynx will not include a link to the
  762. # server-side image map if both a server-side and client-side map for the
  763. # same image is indicated in the HTML markup.  The compilation default is
  764. # FALSE, such that a link with "[ISMAP]" as the link name, followed by a
  765. # hyphen, will be prepended to the ALT string or "[USEMAP]" pseudo-ALT for
  766. # accessing Lynx's text-based rendition of the client-side map (based on
  767. # the content of the associated MAP element).  If the "[ISMAP]" link is
  768. # activated, Lynx will send a 0,0 coordinate pair to the server, which
  769. # Lynx-friendly sites can map to a for-text-client document, homologous
  770. # to what is intended for the content of a FIG element.
  771. #
  772. # The compilation default, or default defined here, can be toggled via
  773. # the "-ismap" command line switch.
  774. #
  775. #NO_ISMAP_IF_USEMAP:FALSE
  776.  
  777.  
  778. .h2 SEEK_FRAG_MAP_IN_CUR
  779. # If SEEK_FRAG_MAP_IN_CUR is set FALSE, then USEMAP attribute values
  780. # (in IMG or OBJECT tags) consisting of only a fragment (USEMAP="#foo")
  781. # will be resolved with respect to the current document's base, which
  782. # might not be the same as the current document's URL.
  783. # The compilation default is to use the current document's URL in all
  784. # cases (i.e., assume the MAP is present below, if it wasn't present
  785. # above the point in the HTML stream where the USEMAP attribute was
  786. # detected).  Lynx's present "single pass" rendering engine precludes
  787. # checking below before making the decision on how to resolve a USEMAP
  788. # reference consisting solely of a fragment.
  789. #
  790. #SEEK_FRAG_MAP_IN_CUR:TRUE
  791.  
  792.  
  793. .h2 SEEK_FRAG_AREA_IN_CUR
  794. # If SEEK_FRAG_AREA_IN_CUR is set FALSE, then HREF attribute values
  795. # in AREA tags consisting of only a fragment (HREF="#foo") will be
  796. # resolved with respect to the current document's base, which might
  797. # not be the same as the current document's URL.  The compilation
  798. # default is to use the current document's URL, as is done for the
  799. # HREF attribute values of Anchors and LINKs that consist solely of
  800. # a fragment.
  801. #
  802. #SEEK_FRAG_AREA_IN_CUR:TRUE
  803.  
  804.  
  805. .h1 CGI scripts
  806. # These settings control Lynx's ability to execute various types of scripts.
  807.  
  808. .h2 LOCAL_EXECUTION_LINKS_ALWAYS_ON
  809. .h2 LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE
  810. # Local execution links and scripts are by default completely disabled,
  811. # unless a change is made to the userdefs.h file to enable them or
  812. # the configure script is used with the corresponding options
  813. # (--enable-exec-links and --enable-exec-scripts).
  814. # See the Lynx source code distribution and the userdefs.h
  815. # file for more detail on enabling execution links and scripts.
  816. #
  817. # If you have enabled execution links or scripts the following
  818. # two variables control Lynx's action when an execution link
  819. # or script is encountered.
  820. #
  821. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  822. # link or script will be executed no matter where it came from.
  823. # This is EXTREMELY dangerous.  Since Lynx can access files from
  824. # anywhere in the world, you may encounter links or scripts that
  825. # will cause damage or compromise the security of your system.
  826. #
  827. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  828. # links or scripts that reside on the local machine and are
  829. # referenced with a URL beginning with "file://localhost/" or meet
  830. # TRUSTED_EXEC or ALWAYS_TRUSTED_EXEC rules (see below) will be
  831. # executed.  This is much less dangerous than enabling all execution
  832. # links, but can still be dangerous.
  833. #
  834. #LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  835. #LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  836.  
  837.  
  838. .h2 TRUSTED_EXEC
  839. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  840. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  841. # or lynxprog command will be permitted if it was referenced from within
  842. # a document whose URL begins with that string.  If you wish to restrict the
  843. # referencing URLs further, you can extend the string to include a trusted
  844. # path.  You also can specify a trusted directory for http URLs, which will
  845. # then be treated as if they were local rather than remote.  For example:
  846. #
  847. #    TRUSTED_EXEC:file://localhost/trusted/
  848. #    TRUSTED_EXEC:http://www.wfbr.edu/trusted/
  849. #
  850. # If you also wish to restrict the commands which can be executed, create
  851. # a series of rules with the path (Unix) or command name (VMS) following
  852. # the string, separated by a tab.  For example:
  853. #
  854. # Unix:
  855. # ====
  856. #    TRUSTED_EXEC:file://localhost/<tab>/bin/cp
  857. #    TRUSTED_EXEC:file://localhost/<tab>/bin/rm
  858. # VMS:
  859. # ===
  860. #    TRUSTED_EXEC:file://localhost/<tab>copy
  861. #    TRUSTED_EXEC:file://localhost/<tab>delete
  862. #
  863. # Once you specify a TRUSTED_EXEC referencing string, the default is
  864. # replaced, and all the referencing strings you desire must be specified
  865. # as a series.  Similarly, if you associate a command with the referencing
  866. # string, you must specify all of the allowable commands as a series of
  867. # TRUSTED_EXEC rules for that string.  If you specify ALWAYS_TRUSTED_EXEC
  868. # rules below, you need not repeat them as TRUSTED_EXEC rules.
  869. #
  870. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec or lynxprog
  871. # URLs in that file will be permitted, regardless of other settings.  If
  872. # you also set LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single
  873. # TRUSTED_EXEC rule that will always fail (e.g., "none"), then *ONLY* the
  874. # lynxexec or lynxprog URLs in JUMPFILE (and any ALWAYS_TRUSTED_EXEC rules,
  875. # see below) will be allowed.  Note, however, that if Lynx was compiled with
  876. # CAN_ANONYMOUS_JUMP set to FALSE (default is TRUE), or -restrictions=jump
  877. # is included with the -anonymous switch at run time, then users of an
  878. # anonymous account will not be able to access the jumps file or enter
  879. # 'j'ump shortcuts, and this selective execution feature will be overridden
  880. # as well (i.e., they will only be able to access lynxexec or lynxprog
  881. # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  882. #
  883. #TRUSTED_EXEC:none
  884.  
  885.  
  886. .h2 ALWAYS_TRUSTED_EXEC
  887. # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
  888. # always enabled by an ALWAYS_TRUSTED_EXEC rule for it.  This is useful for
  889. # anonymous accounts in which you have disabled execution links generally,
  890. # and may also have disabled jumps file links, but still want to allow
  891. # execution of particular utility scripts or programs.  The format is
  892. # like that for TRUSTED_EXEC.  For example:
  893. #
  894. # Unix:
  895. # ====
  896. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>/usr/local/kinetic/bin/usertime
  897. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>/usr/local/kinetic/bin/who.sh
  898. # VMS:
  899. # ===
  900. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>usertime
  901. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>show users
  902. #
  903. # The default ALWAYS_TRUSTED_EXEC rule is "none".
  904. #
  905. #ALWAYS_TRUSTED_EXEC:none
  906.  
  907.  
  908. .h2 TRUSTED_LYNXCGI
  909. # Unix:
  910. # =====
  911. # TRUSTED_LYNXCGI rules define the permitted sources and/or paths for
  912. # lynxcgi links (if LYNXCGI_LINKS is defined in userdefs.h).  The format
  913. # is the same as for TRUSTED_EXEC rules (see above), but no defaults are
  914. # defined, i.e., if no TRUSTED_LYNXCGI rules are defined here, any source
  915. # and path for lynxcgi links will be permitted.  Example rules:
  916. #
  917. #    TRUSTED_LYNXCGI:file://localhost/
  918. #     TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  919. #     TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  920. #
  921. # VMS:
  922. # ====
  923. # Do not define this.
  924. #
  925. #TRUSTED_LYNXCGI:none
  926.  
  927.  
  928. .h2 LYNXCGI_ENVIRONMENT
  929. # Unix:
  930. # =====
  931. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  932. # environment variable to the list of environment variables passed on to the
  933. # lynxcgi script.  Useful variables are HOME, USER, etc...  If proxies
  934. # are in use, and the script invokes another copy of lynx (or a program like
  935. # wget) in a subsidiary role, it can be useful to add http_proxy and other
  936. # *_proxy variables.
  937. #
  938. # VMS:
  939. # ====
  940. # Do not define this.
  941. #
  942. #LYNXCGI_ENVIRONMENT:
  943.  
  944.  
  945. .h2 LYNXCGI_DOCUMENT_ROOT
  946. # Unix:
  947. # =====
  948. # LYNXCGI_DOCUMENT_ROOT is the value of DOCUMENT_ROOT that will be passed
  949. # to lynxcgi scripts.  If set and the URL has PATH_INFO data, then
  950. # PATH_TRANSLATED will also be generated.  Examples:
  951. #    LYNXCGI_DOCUMENT_ROOT:/usr/local/etc/httpd/htdocs
  952. #    LYNXCGI_DOCUMENT_ROOT:/data/htdocs/
  953. #
  954. # VMS:
  955. # ====
  956. # Do not define this.
  957. #
  958. #LYNXCGI_DOCUMENT_ROOT:
  959.  
  960.  
  961. .h1 Cookies
  962.  
  963. .h2 FORCE_SSL_COOKIES_SECURE
  964. # If FORCE_SSL_COOKIES_SECURE is set to TRUE, then SSL encrypted cookies
  965. # received from https servers never will be sent unencrypted to http
  966. # servers.  The compilation default is to impose this block only if the
  967. # https server included a secure attribute for the cookie.  The normal
  968. # default or that defined here can be toggled via the -force_secure
  969. # command line switch.
  970. #
  971. #FORCE_SSL_COOKIES_SECURE:FALSE
  972.  
  973.  
  974. .h1 Internal Behavior
  975.  
  976. .h2 MAIL_SYSTEM_ERROR_LOGGING
  977. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of
  978. #  the information, or ALERTMAIL if there is no owner, every time
  979. #  that a document cannot be accessed!
  980. #
  981. #  NOTE:  This can generate A LOT of mail, be warned.
  982. #
  983. #MAIL_SYSTEM_ERROR_LOGGING:FALSE
  984.  
  985.  
  986. .h2 CHECKMAIL
  987. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  988. # message) about the existence of any unread mail at startup of Lynx, and
  989. # will get statusline messages if subsequent new mail arrives.  If a jumps
  990. # file with a lynxprog URL for invoking mail is available, or your html
  991. # pages include an mail launch file URL, the user thereby can access mail
  992. # and read the messages.  The checks and statusline reports will not be
  993. # performed if Lynx has been invoked with the -restrictions=mail switch.
  994. #
  995. # VMS USERS !!!
  996. # =============
  997. # New mail is normally broadcast as it arrives, via "unsolicited screen
  998. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  999. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  1000. # instead (e.g., in a public account which will be used by people who
  1001. # are ignorant about VMS).
  1002. #
  1003. #CHECKMAIL:FALSE
  1004.  
  1005.  
  1006. .h1 News-groups
  1007.  
  1008. .h2 NNTPSERVER
  1009. # To enable news reading ability via Lynx, the environment variable NNTPSERVER
  1010. # must be set so that it points to your site's NNTP server
  1011. # (see Lynx Users Guide on environment variables).
  1012. # Lynx respects RFC 1738 (http://www.ics.uci.edu/pub/ietf/uri/rfc1738.txt)
  1013. # and does not accept a host field in news URLs (use nntp: instead of news: for
  1014. # the scheme if you wish to specify an NNTP host in a URL, as explained in the
  1015. # RFC).  If you have not set the variable externally, you can set it at run
  1016. # time via this configuration file.  It will not override an external setting.
  1017. # Note that on VMS it is set as a process logical rather than symbol, and will
  1018. # outlive the Lynx image.
  1019. # The news reading facility in Lynx is quite limited.  Lynx does not provide a
  1020. # full featured news reader with elaborate error checking and safety features.
  1021. #
  1022. #NNTPSERVER:news.server.dom
  1023.  
  1024.  
  1025. .h2 LIST_NEWS_NUMBERS
  1026. # If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list and include
  1027. # the numbers of articles in news listings, instead of using an unordered
  1028. # list.  The default is defined in userdefs.h, and can be overridden here.
  1029. #
  1030. #LIST_NEWS_NUMBERS:FALSE
  1031.  
  1032.  
  1033. .h2 LIST_NEWS_DATES
  1034. # If LIST_NEWS_DATES is set TRUE, Lynx will include the dates of articles in
  1035. # news listings.  The dates always are included in the articles, themselves.
  1036. # The default is defined in userdefs.h, and can be overridden here.
  1037. #
  1038. #LIST_NEWS_DATES:FALSE
  1039.  
  1040.  
  1041. .h2 NEWS_CHUNK_SIZE
  1042. .h2 NEWS_MAX_CHUNK
  1043. # NEWS_CHUNK_SIZE and NEWS_MAX_CHUNK regulate the chunking of news article
  1044. # listings with inclusion of links for listing earlier and/or later articles.
  1045. # The defaults are defined in HTNews.c as 30 and 40, respectively.  If the
  1046. # news group contains more than NEWS_MAX_CHUNK articles, they will be listed
  1047. # in NEWS_CHUNK_SIZE chunks.  You can change the defaults here, and/or on
  1048. # the command line via -newschunksize=NUMBER and/or -newsmaxchunk=NUMBER
  1049. # switches.  Note that if the chunk size is increased, here or on the command
  1050. # line, to a value greater than the current maximum, the maximum will be
  1051. # increased to that number.  Conversely, if the maximum is set to a number
  1052. # less than the current chunk size, the chunk size will be reduced to that
  1053. # number.  Thus, you need use only one of the two switches on the command
  1054. # line, based on the direction of intended change relative to the compilation
  1055. # or configuration defaults.  The compilation defaults ensure that there will
  1056. # be at least 10 earlier articles before bothering to chunk and create a link
  1057. # for earlier articles.
  1058. #
  1059. #NEWS_CHUNK_SIZE:30
  1060. #NEWS_MAX_CHUNK:40
  1061.  
  1062.  
  1063. .h2 NEWS_POSTING
  1064. # Set NEWS_POSTING to FALSE if you do not want to support posting to
  1065. # news groups via Lynx.  If left TRUE, Lynx will use its news gateway to
  1066. # post new messages or followups to news groups, using the URL schemes
  1067. # described in the "Supported URLs" section of the online 'h'elp.  The
  1068. # posts will be attempted via the nntp server specified in the URL, or
  1069. # if none was specified, via the NNTPSERVER configuration or environment
  1070. # variable.  Links with these URLs for posting or sending followups are
  1071. # created by the news gateway when reading group listings or articles
  1072. # from nntp servers if the server indicates that it permits posting.
  1073. # The compilation default set in userdefs.h can be changed here.  If
  1074. # the default is TRUE, posting can still be disallowed via the
  1075. # -restrictions command line switch.
  1076. # The posting facility in Lynx is quite limited.  Lynx does not provide a
  1077. # full featured news poster with elaborate error checking and safety features.
  1078. #
  1079. #NEWS_POSTING:TRUE
  1080.  
  1081.  
  1082. .h2 LYNX_SIG_FILE
  1083. # LYNX_SIG_FILE defines the name of a file containing a signature which
  1084. # can be appended to email messages and news postings or followups.  The
  1085. # user will be prompted whether to append it.  It is sought in the home
  1086. # directory.  If it is in a subdirectory, begin it with a dot-slash
  1087. # (e.g., ./lynx/.lynxsig).  The definition is set in userdefs.h and can
  1088. # be changed here.
  1089. #
  1090. #LYNX_SIG_FILE:.lynxsig
  1091.  
  1092.  
  1093. .h1 Interaction
  1094. # These settings control interaction of the user with lynx.
  1095.  
  1096. .h2 SCROLLBAR
  1097. # If SCROLLBAR is set TRUE, Lynx will show scrollbar on windows.  With mouse
  1098. # enabled, the scrollbar strip outside the bar is clickable, and scrolls the
  1099. # window by pages.  The appearance of the scrollbar can be changed from
  1100. # LYNX_LSS file:  define attributes scroll.bar, scroll.back (for the bar, and
  1101. # for the strip along which the scrollbar moves).
  1102. #SCROLLBAR:FALSE
  1103.  
  1104.  
  1105. .h2 SCROLLBAR_ARROW
  1106. # If SCROLLBAR_ARROW is set TRUE, Lynx's scrollbar will have arrows at the
  1107. # ends.  With mouse enabled, the arrows are clickable, and scroll the window by
  1108. # 2 lines.  The appearance of the scrollbar arrows can be changed from LYNX_LSS
  1109. # file:  define attributes scroll.arrow, scroll.noarrow (for enabled-arrows,
  1110. # and disabled arrows).  An arrow is "disabled" if the bar is at this end of
  1111. # the strip.
  1112. #SCROLLBAR_ARROW:TRUE
  1113.  
  1114.  
  1115. .h2 USE_MOUSE
  1116. # If USE_MOUSE is set TRUE, Lynx (when configured with ncurses, PDcurses or
  1117. # slang) will allow the user to click with button-1 on links to select them. 
  1118. # Other mouse-usable operations include:  clicking on the top or bottom of a
  1119. # page to make it scroll up or down, clicking on the left edge to pop the
  1120. # history stack, to move to a text entry field, or manipulate a popup menu.
  1121. #
  1122. # ncurses and slang have built-in support for the xterm mouse protocol.  In
  1123. # addition, ncurses can be linked with the gpm mouse library, to automatically
  1124. # provide support for this interface in applications such as Lynx.  (Please
  1125. # read the ncurses faq to work around broken gpm configurations packaged by
  1126. # some distributors).  PDCurses implements mouse support for win32 console
  1127. # windows, as does slang.
  1128. #USE_MOUSE:FALSE
  1129.  
  1130.  
  1131. .h1 HTML Parsing
  1132. # These settings control the way Lynx parses invalid HTML
  1133. # and how it may resolve such issues.
  1134.  
  1135. .h2 COLLAPSE_BR_TAGS
  1136. # If COLLAPSE_BR_TAGS is set FALSE, Lynx will not collapse serial BR tags.
  1137. # If set TRUE, two or more concurrent BRs will be collapsed into a single
  1138. # line break.  Note that the valid way to insert extra blank lines in HTML
  1139. # is via a PRE block with only newlines in the block.
  1140. #
  1141. #COLLAPSE_BR_TAGS:TRUE
  1142.  
  1143.  
  1144. .h2 TAGSOUP
  1145. # If TAGSOUP is set, Lynx uses the "Tag Soup DTD" rather than "SortaSGML".
  1146. # The two approaches differ by the style of error detection and recovery.
  1147. # Tag Soup DTD allows for improperly nested tags; SortaSGML is stricter.
  1148. #TAGSOUP:FALSE
  1149.  
  1150.  
  1151. .h1 Cookies
  1152.  
  1153. .h2 SET_COOKIES
  1154. # If SET_COOKIES is set FALSE, Lynx will ignore Set-Cookie headers
  1155. # in http server replies.  Note that if a COOKIE_FILE is in use (see
  1156. # below) that contains cookies at startup, Lynx will still send those
  1157. # persistent cookies in requests as appropriate.  Setting SET_COOKIES
  1158. # to FALSE just prevents accepting any new cookies from servers.  To
  1159. # prevent all cookie processing (sending *and* receiving) in a session,
  1160. # make sure that PERSISTENT_COOKIES is not TRUE or that COOKIE_FILE does
  1161. # not point to a file with cookies, in addition to setting SET_COOKIES
  1162. # to FALSE.
  1163. # The default is defined in userdefs.h, and can be overridden here,
  1164. # and/or toggled via the -cookies command line switch.
  1165. #
  1166. #SET_COOKIES:TRUE
  1167.  
  1168.  
  1169. .h2 ACCEPT_ALL_COOKIES
  1170. # If ACCEPT_ALL_COOKIES is set TRUE, Lynx will accept cookies from all
  1171. # domains with no user interaction.  This is equivalent to automatically
  1172. # replying to all cookie 'Allow?' prompts with 'A'lways.  Note that it
  1173. # does not preempt validity checking, which has to be controlled separately
  1174. # (see below).
  1175. # The default is defined in userdefs.h and can be overridden here, or
  1176. # in the .lynxrc file via an o(ptions) screen setting.  It may also be
  1177. # toggled via the -accept_all_cookies command line switch.
  1178. #
  1179. ACCEPT_ALL_COOKIES:TRUE
  1180.  
  1181.  
  1182. .h2 COOKIE_ACCEPT_DOMAINS
  1183. .h2 COOKIE_REJECT_DOMAINS
  1184. # COOKIE_ACCEPT_DOMAINS and COOKIE_REJECT_DOMAINS are comma-delimited lists
  1185. # of domains from which Lynx should automatically accept or reject cookies
  1186. # without asking for confirmation.  If the same domain is specified in both
  1187. # lists, rejection will take precedence.
  1188. # Note that in order to match cookies, domains have to be spelled out exactly
  1189. # in the form in which they would appear on the Cookie Jar page (case is
  1190. # insignificant).  They are not wildcards.  Domains that apply to more than
  1191. # one host have a leading '.', but have to match *the cookie's* domain
  1192. # exactly.
  1193. #
  1194. #COOKIE_ACCEPT_DOMAINS:
  1195. #COOKIE_REJECT_DOMAINS:
  1196.  
  1197.  
  1198. .h2 COOKIE_LOOSE_INVALID_DOMAINS
  1199. .h2 COOKIE_STRICT_INVALID_DOMAINS
  1200. .h2 COOKIE_QUERY_INVALID_DOMAINS
  1201. # COOKIE_LOOSE_INVALID_DOMAINS, COOKIE_STRICT_INVALID_DOMAINS, and
  1202. # COOKIE_QUERY_INVALID_DOMAINS are comma-delimited lists of domains.
  1203. # They control the degree of validity checking that is applied to cookies
  1204. # for the specified domains.
  1205. # Note that in order to match cookies, domains have to be spelled out exactly
  1206. # in the form in which they would appear on the Cookie Jar page (case is
  1207. # insignificant).  They are not wildcards.  Domains that apply to more than
  1208. # one host have a leading '.', but have to match *the cookie's* domain
  1209. # exactly.
  1210. # If a domain is set to strict checking, strict conformance to RFC2109 will
  1211. # be applied.  A domain with loose checking will be allowed to set cookies
  1212. # with an invalid path or domain attribute.  All domains will default to
  1213. # asking the user for confirmation in case of an invalid path or domain.
  1214. # Cookie validity checking takes place as a separate step before the
  1215. # final decision to accept or reject (see previous options), therefore
  1216. # a cookie that passes validity checking may still be automatically
  1217. # rejected or cause another prompt.
  1218. #
  1219. #COOKIE_LOOSE_INVALID_DOMAINS:
  1220. #COOKIE_STRICT_INVALID_DOMAINS:
  1221. #COOKIE_QUERY_INVALID_DOMAINS:
  1222.  
  1223.  
  1224. .h2 PERSISTENT_COOKIES
  1225. # PERSISTENT_COOKIES indicates that cookies should be read at startup from
  1226. # the COOKIE_FILE, and saved at exit for storage between Lynx sessions.
  1227. # It is not used if Lynx was compiled without EXP_PERSISTENT_COOKIES.
  1228. # The default is FALSE, so that the feature needs to be enabled here
  1229. # explicitly if you want it.
  1230. #
  1231. #PERSISTENT_COOKIES:FALSE
  1232.  
  1233.  
  1234. .h2 COOKIE_FILE
  1235. # COOKIE_FILE is the default file from which persistent cookies are read
  1236. # at startup (if the file exists), if Lynx was compiled with
  1237. # EXP_PERSISTENT_COOKIES and the PERSISTENT_COOKIES option is enabled.
  1238. # The cookie file can also be specified in .lynxrc or on the command line.
  1239. #
  1240. #COOKIE_FILE:~/.lynx_cookies
  1241.  
  1242.  
  1243. .h2 COOKIE_SAVE_FILE
  1244. # COOKIE_SAVE_FILE is the default file in which persistent cookies are
  1245. # stored at exit, if Lynx was compiled with EXP_PERSISTENT_COOKIES and the
  1246. # PERSISTENT_COOKIES option is enabled.  The cookie save file can also be
  1247. # specified on the command line.
  1248. #
  1249. # With an interactive Lynx session, COOKIE_SAVE_FILE will default to
  1250. # COOKIE_FILE if it is not set.  With a non-interactive Lynx session (e.g.,
  1251. # -dump), cookies will only be saved to file if COOKIE_SAVE_FILE is set.
  1252. #
  1253. #COOKIE_SAVE_FILE:~/.lynx_cookies
  1254.  
  1255.  
  1256. .h1 Mail-related
  1257.  
  1258. .h2 SYSTEM_MAIL
  1259. .h2 SYSTEM_MAIL_FLAGS
  1260. # VMS:
  1261. # ===
  1262. # The mail command and qualifiers are defined in userdefs.h.  Lynx
  1263. # will spawn a subprocess to send replies and error messages.  The
  1264. # command, and qualifiers (if any), can be re-defined here.  If
  1265. # you use PMDF then headers will we passed via a header file.
  1266. # If you use "generic" VMS MAIL, the subject will be passed on the
  1267. # command line via a /subject="SUBJECT" qualifier, and inclusion
  1268. # of other relevant headers may not be possible.
  1269. # If your mailer uses another syntax, some hacking of the mailform()
  1270. # mailmsg() and reply_by_mail() functions in LYMail.c, and send_file_to_mail()
  1271. # function in LYPrint.c, may be required.
  1272. #
  1273. .ex 2
  1274. #SYSTEM_MAIL:PMDF SEND
  1275. #SYSTEM_MAIL_FLAGS:/headers
  1276. #
  1277. .ex 2
  1278. #SYSTEM_MAIL:MAIL
  1279. #SYSTEM_MAIL_FLAGS:
  1280. #
  1281. # Unix:
  1282. #======
  1283. # The mail path and flags normally are defined for sendmail (or submit
  1284. # with MMDF) in userdefs.h.  You can change them here, but should first
  1285. # read the zillions of CERT advisories about security problems with Unix
  1286. # mailers.
  1287. #
  1288. .ex 2
  1289. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  1290. #SYSTEM_MAIL_FLAGS:-mlruxto,cc\*
  1291. #
  1292. .ex 2
  1293. #SYSTEM_MAIL:/usr/sbin/sendmail
  1294. #SYSTEM_MAIL_FLAGS:-t -oi
  1295. #
  1296. .ex 2
  1297. #SYSTEM_MAIL:/usr/lib/sendmail
  1298. #SYSTEM_MAIL_FLAGS:-t -oi
  1299.  
  1300. # Win32:
  1301. #=======
  1302. # Please read sendmail.txt in the LYNX_W32.ZIP distribution
  1303. #
  1304. #SYSTEM_MAIL:sendmail -f me@my.host -h my.host -r my.smtp.mailer -m SMTP
  1305.  
  1306.  
  1307. .h2 MAIL_ADRS
  1308. # VMS ONLY:
  1309. # ========
  1310. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  1311. # IN%"INTERNET_ADDRESS" scheme.  The %s is replaced with the address given
  1312. # by the user.  If you are using a different Internet mail transport, change
  1313. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  1314. #
  1315. #MAIL_ADRS:"IN%%""%s"""
  1316.  
  1317.  
  1318. .h2 USE_FIXED_RECORDS
  1319. # VMS ONLY:
  1320. # ========
  1321. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  1322. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  1323. # them to disk or acting on a DOWNLOADER option.  If set to FALSE, the
  1324. # headers of such files will indicate that they are Stream_LF with Implied
  1325. # Carriage Control, which is incorrect, and can cause downloading software
  1326. # to get confused and unhappy.  If you do set it FALSE, you can use the
  1327. # FIXED512.COM command file, which is included in this distribution, to do
  1328. # the conversion externally.
  1329. #
  1330. #USE_FIXED_RECORDS:TRUE
  1331.  
  1332.  
  1333. .h1 Keyboard Input
  1334. # These settings control the way Lynx interprets user input.
  1335.  
  1336.  
  1337. .h2 VI_KEYS_ALWAYS_ON
  1338. .h2 EMACS_KEYS_ALWAYS_ON
  1339. # Vi or Emacs movement keys, i.e. familiar hjkl or ^N^P^F^B .
  1340. # These are defaults, which can be changed in the Options Menu or .lynxrc .
  1341. #VI_KEYS_ALWAYS_ON:FALSE
  1342. #EMACS_KEYS_ALWAYS_ON:FALSE
  1343.  
  1344.  
  1345. .h2 DEFAULT_KEYPAD_MODE
  1346. # DEFAULT_KEYPAD_MODE may be set to NUMBERS_AS_ARROWS
  1347. #                                or LINKS_ARE_NUMBERED
  1348. #                                or LINKS_AND_FIELDS_ARE_NUMBERED
  1349. # to specify whether numbers (e.g. [10]) appear before all links,
  1350. # allowing immediate access by entering the number on the keyboard,
  1351. # or numbers on the numeric key-pad work like arrows;
  1352. # the 3rd option causes form fields also to be preceded by numbers.
  1353. # The first two options (but not the last) can be changed in lynx.cfg
  1354. # and all three can be changed via the Options Menu.
  1355. #
  1356. #DEFAULT_KEYPAD_MODE:NUMBERS_AS_ARROWS
  1357.  
  1358.  
  1359. .h2 DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS
  1360. # Obsolete form of DEFAULT_KEYPAD_MODE,
  1361. # numbers work like arrows or numbered links.
  1362. # Set to TRUE, indicates numbers act as arrows,
  1363. # and set to FALSE indicates numbers refer to numbered links on the page.
  1364. # LINKS_AND_FIELDS_ARE_NUMBERED cannot be set by this option because
  1365. # it allows only two values (true and false).
  1366. #
  1367. #DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  1368.  
  1369.  
  1370. .h2 CASE_SENSITIVE_ALWAYS_ON
  1371. # The default search type.
  1372. # This is a default that can be overridden by the user!
  1373. #
  1374. #CASE_SENSITIVE_ALWAYS_ON:FALSE
  1375.  
  1376.  
  1377. .h1 Auxiliary Facilities
  1378.  
  1379. .h2 DEFAULT_BOOKMARK_FILE
  1380. # DEFAULT_BOOKMARK_FILE is the filename used for storing personal bookmarks.
  1381. # It will be prepended by the user's home directory.
  1382. # NOTE that a file ending in .html or other suffix mapped to text/html
  1383. # should be used to ensure its treatment as HTML.  The built-in default
  1384. # is lynx_bookmarks.html.  On both Unix and VMS, if a subdirectory off of
  1385. # the HOME directory is desired, the path should begin with "./" (e.g.,
  1386. # ./BM/lynx_bookmarks.html), but the subdirectory must already exist.
  1387. # Lynx will create the bookmark file, if it does not already exist, on
  1388. # the first ADD_BOOKMARK attempt if the HOME directory is indicated
  1389. # (i.e., if the definition is just filename.html without any slashes),
  1390. # but requires a pre-existing subdirectory to create the file there.
  1391. # The user can re-define the default bookmark file, as well as a set
  1392. # of sub-bookmark files if multiple bookmark file support is enabled
  1393. # (see below), via the 'o'ptions menu, and can save those definitions
  1394. # in the .lynxrc file.
  1395. #
  1396. DEFAULT_BOOKMARK_FILE:BM.html
  1397.  
  1398.  
  1399. .h2 MULTI_BOOKMARK_SUPPORT
  1400. # If MULTI_BOOKMARK_SUPPORT is set TRUE, and BLOCK_MULTI_BOOKMARKS (see
  1401. # below) is FALSE, and sub-bookmarks exist, all bookmark operations will
  1402. # first prompt the user to select an active sub-bookmark file or the
  1403. # default bookmark file.  FALSE is the default so that one (the default)
  1404. # bookmark file will be available initially.  The definition here will
  1405. # override that in userdefs.h.  The user can turn on multiple bookmark
  1406. # support via the 'o'ptions menu, and can save that choice as the startup
  1407. # default via the .lynxrc file.  When on, the setting can be STANDARD or
  1408. # ADVANCED.  If SUPPORT is set to the latter, and the user mode also is
  1409. # ADVANCED, the VIEW_BOOKMARK command will invoke a statusline prompt at
  1410. # which the user can enter the letter token (A - Z) of the desired bookmark,
  1411. # or '=' to get a menu of available bookmark files.  The menu always is
  1412. # presented in NOVICE or INTERMEDIATE mode, or if the SUPPORT is set to
  1413. # STANDARD.  No prompting or menu display occurs if only one (the startup
  1414. # default) bookmark file has been defined (define additional ones via the
  1415. # 'o'ptions menu).  The startup default, however set, can be overridden on
  1416. # the command line via the -restrictions=multibook or the -anonymous or
  1417. # -validate switches.
  1418. #
  1419. #MULTI_BOOKMARK_SUPPORT:FALSE
  1420.  
  1421.  
  1422. .h2 BLOCK_MULTI_BOOKMARKS
  1423. # If BLOCK_MULTI_BOOKMARKS is set TRUE, multiple bookmark support will
  1424. # be forced off, and cannot to toggled on via the 'o'ptions menu.  The
  1425. # compilation setting is normally FALSE, and can be overridden here.
  1426. # It can also be set via the -restrictions=multibook or the -anonymous
  1427. # or -validate command line switches.
  1428. #
  1429. #BLOCK_MULTI_BOOKMARKS:FALSE
  1430.  
  1431.  
  1432. .h1 Interaction
  1433.  
  1434. .h2 DEFAULT_USER_MODE
  1435. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  1436. # NOVICE shows a three line help message at the bottom of the screen.
  1437. # INTERMEDIATE shows normal amount of help (one line).
  1438. # ADVANCED help is replaced by the URL of the current link.
  1439. #
  1440. DEFAULT_USER_MODE:ADVANCED
  1441.  
  1442.  
  1443. .h1 External Programs
  1444.  
  1445. .h2 DEFAULT_EDITOR
  1446. # If DEFAULT_EDITOR is defined, users may edit local documents with it
  1447. # & it will also be used for sending mail messages.
  1448. # If no editor is defined here or by the user,
  1449. # the user will not be able to edit local documents
  1450. # and a primitive line-oriented mail-input mode will be used.
  1451. #
  1452. # For sysadmins: do not define a default editor
  1453. # unless you know EVERY user will know how to use it;
  1454. # users can easily define their own editor in the Options Menu.
  1455. #
  1456. #DEFAULT_EDITOR:
  1457.  
  1458.  
  1459. .h2 SYSTEM_EDITOR
  1460. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR,
  1461. # except that it can't be changed by users.
  1462. #
  1463. #SYSTEM_EDITOR:
  1464.  
  1465.  
  1466. .h1 Proxy
  1467.  
  1468. .h2 HTTP_PROXY
  1469. .h2 HTTPS_PROXY
  1470. .h2 FTP_PROXY
  1471. .h2 GOPHER_PROXY
  1472. .h2 NEWSPOST_PROXY
  1473. .h2 NEWSREPLY_PROXY
  1474. .h2 NEWS_PROXY
  1475. .h2 NNTP_PROXY
  1476. .h2 SNEWSPOST_PROXY
  1477. .h2 SNEWSREPLY_PROXY
  1478. .h2 SNEWS_PROXY
  1479. .h2 WAIS_PROXY
  1480. .h2 FINGER_PROXY
  1481. .h2 CSO_PROXY
  1482. # Lynx version 2.2 and beyond supports the use of proxy servers that can act as
  1483. # firewall gateways and caching servers.  They are preferable to the older
  1484. # gateway servers.  Each protocol used by Lynx can be mapped separately using
  1485. # PROTOCOL_proxy environment variables (see Lynx Users Guide).  If you have not set
  1486. # them externally, you can set them at run time via this configuration file.
  1487. # They will not override external settings.  The no_proxy variable can be used
  1488. # to inhibit proxying to selected regions of the Web (see below).  Note that on
  1489. # VMS these proxy variables are set as process logicals rather than symbols, to
  1490. # preserve lowercasing, and will outlive the Lynx image.
  1491. #
  1492. .ex 15
  1493. #http_proxy:http://some.server.dom:port/
  1494. #https_proxy:http://some.server.dom:port/
  1495. #ftp_proxy:http://some.server.dom:port/
  1496. #gopher_proxy:http://some.server.dom:port/
  1497. #news_proxy:http://some.server.dom:port/
  1498. #newspost_proxy:http://some.server.dom:port/
  1499. #newsreply_proxy:http://some.server.dom:port/
  1500. #snews_proxy:http://some.server.dom:port/
  1501. #snewspost_proxy:http://some.server.dom:port/
  1502. #snewsreply_proxy:http://some.server.dom:port/
  1503. #nntp_proxy:http://some.server.dom:port/
  1504. #wais_proxy:http://some.server.dom:port/
  1505. #finger_proxy:http://some.server.dom:port/
  1506. #cso_proxy:http://some.server.dom:port/
  1507. #no_proxy:host.domain.dom
  1508.  
  1509.  
  1510. .h2 NO_PROXY
  1511. # The no_proxy variable can be a comma-separated list of strings defining
  1512. # no-proxy zones in the DNS domain name space.  If a tail substring of the
  1513. # domain-path for a host matches one of these strings, transactions with that
  1514. # node will not be proxied.
  1515. .ex
  1516. #no_proxy:domain.path1,path2
  1517. #
  1518. # A single asterisk as an entry will override all proxy variables and no
  1519. # transactions will be proxied.
  1520. .ex
  1521. #no_proxy:*
  1522. # This is the only allowed use of * in no_proxy.
  1523. #
  1524. # Warning:  Note that setting 'il' as an entry in this list will block proxying
  1525. # for the .mil domain as well as the .il domain.  If the entry is '.il' this
  1526. # will not happen.
  1527.  
  1528.  
  1529. .h1 External Programs
  1530.  
  1531. .h2 PRINTER
  1532. .h2 DOWNLOADER
  1533. .h2 UPLOADER
  1534. # PRINTER, DOWNLOADER & UPLOADER DEFINITIONS:
  1535. # Lynx has 4 pre-defined print options & 1 pre-defined download option,
  1536. # which are called up on-screen when `p' or `d' are entered;
  1537. # any number of options can be added by the user, as explained below.
  1538. # Uploaders can be defined only for UNIX with DIRED_SUPPORT:
  1539. # see the Makefile in the top directory & the header of src/LYUpload.c .
  1540. #
  1541. # For `p' pre-defined options are: `Save to local file', `E-mail the file',
  1542. # `Print to screen' and `Print to local printer attached to vt100'.
  1543. # `Print to screen' allows file transfers in the absence of alternatives
  1544. # and is often the only option allowed here for anonymous users;
  1545. # the 3rd & 4th options are not pre-defined for DOS/WINDOWS versions of Lynx.
  1546. # For `d' the pre-defined option is: `Download to local file'.
  1547. #
  1548. # To define your own print or download option use the following formats:
  1549. #
  1550. # PRINTER:<name>:<command>:<option>:<lines/page>
  1551. #
  1552. # DOWNLOADER:<name>:<command>:<option>
  1553. #
  1554. # <name>       is what you will see on the print/download screen.
  1555. #
  1556. # <command>    is the command your system will execute:
  1557. #              the 1st %s in the command will be replaced
  1558. #              by the temporary filename used by Lynx;
  1559. #              a 2nd %s will be replaced by a filename of your choice,
  1560. #              for which Lynx will prompt, offering a suggestion.
  1561. #              On Unix, which has pipes, you may use a '|' as the first
  1562. #              character of the command, and Lynx will open a pipe to
  1563. #              the command.
  1564. #              If the command format of your printer/downloader requires
  1565. #              a different layout, you will need to use a script
  1566. #              (see the last 2 download examples below).
  1567. #
  1568. # <option>     TRUE : the printer/downloader will always be ENABLED,
  1569. #              except that downloading is disabled when -validate is used;
  1570. #              FALSE : both will be DISABLED for anonymous users
  1571. #              and printing will be disabled when -noprint is used.
  1572. #
  1573. # <lines/page> (printers: optional) the number of lines/page (default 66):
  1574. #              used to compute the approximate output size
  1575. #              and prompt if the document is > 4 printer pages;
  1576. #              it uses current screen length for the computation
  1577. #              when `Print to screen' is selected.
  1578. #
  1579. # You must put the whole definition on one line;
  1580. # if you use a colon, precede it with a backslash.
  1581. #
  1582. # `Printer' can be any file-handling program you find useful,
  1583. # even if it does not physically print anything.
  1584. #
  1585. # Usually, down/up-loading involves the use of (e.g.) Ckermit or ZModem
  1586. # to transfer files to a user's local machine over a serial link,
  1587. # but download options do not have to be download-protocol programs.
  1588. #
  1589. # Printer examples:
  1590. .ex 3
  1591. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  1592. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  1593. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  1594. # If you have a very busy VMS print queue
  1595. # and Lynx deletes the temporary files before they have been queued,
  1596. # use the VMSPrint.com included in the distribution:
  1597. .ex
  1598. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  1599. # To specify a print option at run-time:
  1600. # NBB if you have ANONYMOUS users, DO NOT allow this option!
  1601. .ex
  1602. #PRINTER:Specify at run-time:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  1603. # To pass to a sophisticated file viewer: -k suppresses invocation
  1604. # of hex display mode if 8-bit or control characters are present;
  1605. # +s invokes secure mode (see ftp://space.mit.edu/pub/davis/most):
  1606. .ex
  1607. #PRINTER:Use Most to view:most -k +s %s:TRUE:23
  1608. #
  1609. # Downloader examples:
  1610. # in Kermit, -s %s is the filename sent, -a %s the filename on arrival
  1611. # (if they are given in reverse order here, the command will fail):
  1612. .ex
  1613. #DOWNLOADER:Use Kermit to download to the terminal:kermit -i -s %s -a %s:TRUE
  1614. # NB don't use -k with Most, so that binaries will invoke hexadecimal mode:
  1615. .ex
  1616. #DOWNLOADER:Use Most to view:most +s %s:TRUE
  1617. # The following example gives wrong filenames
  1618. # (`sz' doesn't support a suggested filename parameter):
  1619. .ex
  1620. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  1621. # The following example returns correct filenames
  1622. # by using a script to make a subdirectory in /tmp,
  1623. # but may conflict with very strong security or permissions restrictions:
  1624. .ex
  1625. #DOWNLOADER:Use Zmodem to download to the local terminal:set %s %s;td=/tmp/Lsz$$;mkdir $td;ln -s $1 $td/"$2";sz $td/"$2";rm -r $td:TRUE
  1626. .ex 2
  1627. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  1628. #UPLOADER:Use Zmodem to upload from your computer: rz %s:TRUE
  1629. #
  1630. # Note for OS/390: /* S/390 -- gil -- 1464 */
  1631. # The following is strongly recommended to undo ASCII->EBCDIC conversion.
  1632. .ex
  1633. #DOWNLOADER:Save OS/390 binary file: iconv -f IBM-1047 -t ISO8859-1 %s >%s:FALSE
  1634.  
  1635.  
  1636. .h1 Interaction
  1637.  
  1638. .h2 NO_DOT_FILES
  1639. # If NO_DOT_FILES is TRUE (normal default via userdefs.h), the user will not
  1640. # be allowed to specify files beginning with a dot in reply to output filename
  1641. # prompts, and files beginning with a dot (e.g., file://localhost/path/.lynxrc)
  1642. # will not be included in the directory browser's listings.  If set FALSE, you
  1643. # can force it to be treated as TRUE via -restrictions=dotfiles.  If set FALSE
  1644. # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  1645. # may save the preference in the RC file).
  1646. #
  1647. NO_DOT_FILES:FALSE
  1648.  
  1649.  
  1650. .h1 Internal Behavior
  1651.  
  1652. .h2 NO_FROM_HEADER
  1653. # If NO_FROM_HEADER is set FALSE, From headers will be sent in transmissions
  1654. # to http or https servers if the personal_mail_address has been defined via
  1655. # the 'o'ptions menu.  The compilation default is TRUE (no From header is
  1656. # sent) and the default can be changed here.  The default can be toggled at
  1657. # run time via the -from switch.  Note that transmissions of From headers
  1658. # have become widely considered to create an invasion of privacy risk.
  1659. #
  1660. #NO_FROM_HEADER:TRUE
  1661.  
  1662.  
  1663. .h2 NO_REFERER_HEADER
  1664. # If NO_REFERER_HEADER is TRUE, Referer headers never will be sent in
  1665. # transmissions to servers.  Lynx normally sends the URL of the document
  1666. # from which the link was derived, but not for startfile URLs, 'g'oto
  1667. # URLs, 'j'ump shortcuts, bookmark file links, history list links, or
  1668. # URLs that include the content from form submissions with method GET.
  1669. # If left FALSE here, it can be set TRUE at run time via the -noreferer
  1670. # switch.
  1671. #
  1672. #NO_REFERER_HEADER:FALSE
  1673.  
  1674.  
  1675. .h1 Internal Behavior
  1676.  
  1677. .h2 NO_FILE_REFERER
  1678. # If NO_FILE_REFERER is TRUE, Referer headers never will be sent in
  1679. # transmissions to servers for links or actions derived from documents
  1680. # or forms with file URLs.  This ensures that paths associated with
  1681. # the local file system are never indicated to servers, even if
  1682. # NO_REFERER_HEADER is FALSE.  If set to FALSE here, it can still be
  1683. # set TRUE at run time via the -nofilereferer switch.
  1684. #
  1685. #NO_FILE_REFERER:TRUE
  1686.  
  1687.  
  1688. .h2 REFERER_WITH_QUERY
  1689. # REFERER_WITH_QUERY controls what happens when the URL in a Referer
  1690. # header to be sent would contain a query part in the form of a '?'
  1691. # character followed by one or more attribute=value pairs.  Query parts
  1692. # often contain sensitive or personal information resulting from filling
  1693. # out forms, or other info that allows tracking of a user's browsing path
  1694. # through a site, an thus should not be put in a Referer header (which may
  1695. # get sent to an unrelated third-party site).  On the other hand, some
  1696. # sites (improperly) rely on browsers sending Referer headers, even when
  1697. # the user is coming from a page whose URL has a query part.
  1698. #
  1699. # If REFERER_WITH_QUERY is SEND, full Referer headers will be sent
  1700. # including the query part (unless sending of Referer is disabled in
  1701. # general, see NO_REFERER_HEADER above).  If REFERER_WITH_QUERY is
  1702. # PARTIAL, the Referer header will contain a partial URL, with the query
  1703. # part stripped off.  This is not strictly correct, but should satisfy
  1704. # those sites that check only whether the user arrived at a page from an
  1705. # "outside" link.  If REFERER_WITH_QUERY is set to DROP (or anything else
  1706. # unrecognized), the default, no Referer header is sent at all in this
  1707. # situation.
  1708. #
  1709. #REFERER_WITH_QUERY:DROP
  1710.  
  1711.  
  1712. .h1 Appearance
  1713.  
  1714. .h2 VERBOSE_IMAGES
  1715. # VERBOSE_IMAGES controls whether Lynx replaces [LINK], [INLINE] and [IMAGE]
  1716. # (for images without ALT) with filenames of these images.
  1717. # This can be useful in determining what images are important
  1718. # and which are mere decorations, e.g. button.gif, line.gif,
  1719. # provided the author uses meaningful names.
  1720. #
  1721. # The definition here will override the setting in userdefs.h.
  1722. #
  1723. #VERBOSE_IMAGES:TRUE
  1724.  
  1725.  
  1726. .h2 MAKE_LINKS_FOR_ALL_IMAGES
  1727. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  1728. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  1729. # strings will be links for the resolved SRC rather than just text.
  1730. # For ISMAP or other graphic links, ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  1731. # will have '-' and a link labeled "[IMAGE]" for the resolved SRC appended.
  1732. # See also VERBOSE_IMAGES flag.
  1733. #
  1734. # The definition here will override that in userdefs.h
  1735. # and can be toggled via an "-image_links" command-line switch.
  1736. # The user can also use the LYK_IMAGE_TOGGLE key (default `*')
  1737. # or `Show Images' in the Form-based Options Menu.
  1738. #
  1739. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  1740.  
  1741. .h2 MAKE_PSEUDO_ALTS_FOR_INLINES
  1742. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which don't specify
  1743. # an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  1744. # i.e. they'll be treated as having ALT="".
  1745. # Otherwise (if TRUE), pseudo-ALTs will be created for inlines,
  1746. # so that they can be used as links to the SRCs.
  1747. # See also VERBOSE_IMAGES flag.
  1748. #
  1749. # The definition here will override that in userdefs.h
  1750. # and can be toggled via a "-pseudo_inlines" command-line switch.
  1751. # The user can also use the LYK_INLINE_TOGGLE key (default `[')
  1752. # or `Show Images' in the Form-based Options Menu.
  1753. #
  1754. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  1755.  
  1756.  
  1757. .h2 SUBSTITUTE_UNDERSCORES
  1758. # If SUBSTITUTE_UNDERSCORES is TRUE, the _underline_ format will be used
  1759. # for emphasis tags in dumps.
  1760. #
  1761. # The default defined here will override that in userdefs.h, and the user
  1762. # can toggle the default via a "-underscore" command line switch.
  1763. #
  1764. #SUBSTITUTE_UNDERSCORES:FALSE
  1765.  
  1766.  
  1767. .h1 Interaction
  1768.  
  1769. .h2 QUIT_DEFAULT_YES
  1770. # If QUIT_DEFAULT_YES is TRUE then when the QUIT command is entered, any
  1771. # response other than n or N will confirm.  It should be FALSE if you
  1772. # prefer the more conservative action of requiring an explicit Y or y to
  1773. # confirm.  The default defined here will override that in userdefs.h.
  1774. #
  1775. #QUIT_DEFAULT_YES:TRUE
  1776.  
  1777.  
  1778. .h1 HTML Parsing
  1779.  
  1780. .h2 HISTORICAL_COMMENTS
  1781. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "Historical"
  1782. # behavior of treating any '>' as a terminator for comments, instead of
  1783. # seeking a valid '-->' terminator (note that white space can be present
  1784. # between the '--' and '>' in valid terminators).  The compilation default
  1785. # is FALSE.
  1786. #
  1787. # The compilation default, or default defined here, can be toggled via a
  1788. # "-historical" command line switch, and via the LYK_HISTORICAL command key.
  1789. #
  1790. #HISTORICAL_COMMENTS:FALSE
  1791.  
  1792.  
  1793. .h2 MINIMAL_COMMENTS
  1794. # If MINIMAL_COMMENTS is TRUE, Lynx will not use Valid comment parsing
  1795. # of '--' pairs as serial comments within an overall comment element,
  1796. # and instead will seek only a '-->' terminator for the overall comment
  1797. # element.  This emulates the Netscape v2.0 comment parsing bug, and
  1798. # will help Lynx cope with the use of dashes as "decorations", which
  1799. # consequently has become common in so-called "Enhanced for Netscape"
  1800. # pages.  Note that setting Historical comments on will override the
  1801. # Minimal or Valid setting.
  1802. #
  1803. # The compilation default for MINIMAL_COMMENTS is FALSE, but we'll
  1804. # set it TRUE here, until Netscape gets its comment parsing right,
  1805. # and "decorative" dashes cease to be so common.
  1806. #
  1807. # The compilation default, or default defined here, can be toggled via a
  1808. # "-minimal" command line switch, and via the LYK_MINIMAL command key.
  1809. #
  1810. MINIMAL_COMMENTS:TRUE
  1811.  
  1812.  
  1813. .h2 SOFT_DQUOTES
  1814. # If SOFT_DQUOTES is TRUE, Lynx will emulate the invalid behavior of
  1815. # treating '>' as a co-terminator of a double-quoted attribute value
  1816. # and the tag which contains it, as was done in old versions of Netscape
  1817. # and Mosaic.  The compilation default is FALSE.
  1818. #
  1819. # The compilation default, or default defined here, can be toggled via
  1820. # a "-soft_dquotes" command line switch.
  1821. #
  1822. #SOFT_DQUOTES:FALSE
  1823.  
  1824.  
  1825. .h2 STRIP_DOTDOT_URLS
  1826. # If STRIP_DOTDOT_URLS is TRUE, Lynx emulates the invalid behavior of many
  1827. # browsers to strip a leading "../" segment from relative URLs in HTML
  1828. # documents with a http or https base URL, if this would otherwise lead to
  1829. # an absolute URLs with those characters still in it.  Such URLs are normally
  1830. # erroneous and not what is intended by page authors.  Lynx will issue
  1831. # a warning message when this occurs.
  1832. #
  1833. # If STRIP_DOTDOT_URLS is FALSE, Lynx will use those URLs for requests
  1834. # without taking any special actions or issuing Warnings, in most cases
  1835. # this will result in an error response from the server.
  1836. #
  1837. # Note that Lynx never tries to fix similar URLs for protocols other than
  1838. # http and https, since they are less common and may actually be valid in
  1839. # some cases.
  1840. #
  1841. #STRIP_DOTDOT_URLS:TRUE
  1842.  
  1843.  
  1844. .h1 Appearance
  1845.  
  1846. .h2 ENABLE_SCROLLBACK
  1847. # If ENABLE_SCROLLBACK is TRUE, Lynx will clear the entire screen before
  1848. # displaying each new screenful of text.  Though less efficient for normal
  1849. # use, this allows programs that maintain a buffer of previously-displayed
  1850. # text to recognize the continuity of what has been displayed, so that
  1851. # previous screenfuls can be reviewed by whatever method the program uses
  1852. # to scroll back through previous text.  For example, the PC comm program
  1853. # QModem has a key that can be pressed to scroll back; if ENABLE_SCROLLBACK
  1854. # is TRUE, pressing the scrollback key will access previous screenfuls which
  1855. # will have been stored on the local PC and will therefore be displayed
  1856. # instantaneously, instead of needing to be retransmitted by Lynx at the
  1857. # speed of the comm connection (but Lynx will not know about the change,
  1858. # so you must restore the last screen before resuming with Lynx commands).
  1859. #
  1860. # The compilation default is FALSE (if REVERSE_CLEAR_SCREEN_PROBLEM was not
  1861. # defined in the Unix Makefile to invoke this behavior as a workaround for
  1862. # some poor curses implementations).
  1863. #
  1864. # The default compilation or configuration setting can be toggled via an
  1865. # "-enable_scrollback" command line switch.
  1866. #
  1867. #ENABLE_SCROLLBACK:FALSE
  1868.  
  1869.  
  1870. .h2 SCAN_FOR_BURIED_NEWS_REFS
  1871. # If SCAN_FOR_BURIED_NEWS_REFS is set to TRUE, Lynx will scan the bodies
  1872. # of news articles for buried article and URL references and convert them
  1873. # to links.  The compilation default is TRUE, but some email addresses
  1874. # enclosed in angle brackets ("<user@address>") might be converted to false
  1875. # news links, and uuencoded messages might be corrupted.  The conversion is
  1876. # not done when the display is toggled to source or when 'd'ownloading, so
  1877. # uuencoded articles can be saved intact regardless of these settings.
  1878. #
  1879. # The default setting can be toggled via a "-buried_news" command line
  1880. # switch.
  1881. #
  1882. #SCAN_FOR_BURIED_NEWS_REFS:TRUE
  1883.  
  1884.  
  1885. .h2 PREPEND_BASE_TO_SOURCE
  1886. # If PREPEND_BASE_TO_SOURCE is set to FALSE, Lynx will not prepend a
  1887. # Request URL comment and BASE element to text/html source files when
  1888. # they are retrieved for 'd'ownloading or passed to 'p'rint functions.
  1889. # The compilation default is TRUE.  Note that this prepending is not
  1890. # done for -source dumps, unless the -base switch also was included on
  1891. # the command line, and the latter switch overrides the setting of the
  1892. # PREPEND_BASE_TO_SOURCE configuration variable.
  1893. #
  1894. #PREPEND_BASE_TO_SOURCE:TRUE
  1895.  
  1896.  
  1897. # MIME types and viewers!
  1898. #
  1899. # file extensions may be assigned to MIME types using
  1900. # the SUFFIX: definition.
  1901. #
  1902. # NOTE: It is normally preferable to define new extension mappings in
  1903. #       EXTENSION_MAP files (see below) instead of here:  Definitions
  1904. #       here are overridden by those in EXTENSION_MAP files and even by
  1905. #       some built-in defaults in src/HTInit.c.  On the other hand,
  1906. #       definitions here allow some more fields that are not possible
  1907. #       in those files.
  1908. #
  1909. #       Extension mappings have an effect mostly for ftp and local files,
  1910. #       they are NOT used to determine the type of content for URLs with
  1911. #       the http protocol.  This is because HTTP servers already specify
  1912. #       the MIME type in the Content-Type header.  [It may still be
  1913. #       necessary to set up an appropriate suffix for some MIME types,
  1914. #       even if they are accessed only via the HTTP protocol, if the viewer
  1915. #       (see below) for those MIME types requires a certain suffix for the
  1916. #       temporary file passed to it.]
  1917.  
  1918.  
  1919. .h1 External Programs
  1920.  
  1921. .h2 GLOBAL_EXTENSION_MAP
  1922. .h2 PERSONAL_EXTENSION_MAP
  1923. # The global and personal EXTENSION_MAP files allow you to assign extensions
  1924. # to MIME types which will override any of the suffix maps in this (lynx.cfg)
  1925. # configuration file, or in src/HTInit.c.  See the example mime.types file
  1926. # in the samples subdirectory.
  1927. #
  1928. # Unix:
  1929. # ====
  1930. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  1931. # VMS:
  1932. # ===
  1933. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  1934. #
  1935. #    Unix (sought in user's home directory):
  1936. #PERSONAL_EXTENSION_MAP:.mime.types
  1937. #    VMS (sought in user's sys$login directory):
  1938. #PERSONAL_EXTENSION_MAP:mime.types
  1939.  
  1940.  
  1941. .h2 SUFFIX_ORDER
  1942. # With SUFFIX_ORDER the precedence of suffix mappings can be changed.
  1943. # Two kinds of settings are recognized:
  1944. #
  1945. #    PRECEDENCE_OTHER or PRECEDENCE_HERE
  1946. #      Suffix mappings can come from four sources: (1) SUFFIX rules
  1947. #      given here - see below, (2) builtin defaults (HTInit.c), and the
  1948. #      (3) GLOBAL_EXTENSION_MAP and (4) PERSONAL_EXTENSION_MAP files.
  1949. #      The order of precedence is normally as listed: (1) has the
  1950. #      *lowest*, (4) has the *highest* precedence if there are conflicts.
  1951. #      In other words, SUFFIX mappings here are overridden by conflicting
  1952. #      ones elsewhere.  This default ordering is called PRECEDENCE_OTHER.
  1953. #      With PRECEDENCE_HERE, the order becomes (2) (3) (4) (1), i.e.
  1954. #      mappings here override others made elsewhere.
  1955. #
  1956. #    NO_BUILTIN
  1957. #      This disables all builtin default rules.  In other words, (2) in the
  1958. #      list above is skipped.  Some recognition for compressed files (".gz",
  1959. #      ".Z") is still hardwired.   A mapping for some basic types, at least
  1960. #      for text/html is probably necessary to get a usable configuration,
  1961. #      it can be given in a SUFFIX rule below or an extension map file.
  1962. # Both kinds of settings can be combined, separated by comma as in
  1963. #        SUFFIX_ORDER:PRECEDENCE_HERE,NO_BUILTIN
  1964. # Note: Using PRECEDENCE_HERE has only an effect on SUFFIX rules that follow.
  1965. # Moreover, if GLOBAL_EXTENSION_MAP or PERSONAL_EXTENSION_MAP directives
  1966. # are used, they should come *before* a SUFFIX_ORDER:PRECEDENCE_HERE.
  1967. #
  1968. #SUFFIX_ORDER:PRECEDENCE_OTHER
  1969.  
  1970.  
  1971. .h2 SUFFIX
  1972. # The SUFFIX definition takes the form of:
  1973. #
  1974. #    SUFFIX:<file extension>:<mime type>:<encoding>:<quality>:<description>
  1975. #
  1976. # All fields after <mime type> are optional (including the separators
  1977. # if no more fields follow).
  1978. #
  1979. #     <file extension> trailing end of file name.  This need not strictly
  1980. #                      be a file extension as understood by the OS, a dot
  1981. #                      has to be given explicitly if it is indented, for
  1982. #                      some uses one could even match full filenames here.
  1983. #                      In addition, two forms are special: "*.*" and "*"
  1984. #                      refer to the defaults for otherwise unmatched files
  1985. #                      (the first for filenames with a dot somewhere in
  1986. #                      the name, the second without), these are currently
  1987. #                      mapped to text/plain in the (HTInit.c) builtin code.
  1988. #
  1989. #     <mime type> a MIME content type.  It can also contain a charset
  1990. #                 parameter, see example below.  This should be given in
  1991. #                 all lowercase, use <description> for more fancy labels.
  1992. #                 It can be left empty if an HTTP style encoding is given.
  1993. #
  1994. # Fields in addition to the usual ones are
  1995. #
  1996. #     <encoding>  either a mail style trivial encoding (7bit, 8bit, binary)
  1997. #                 which could be used on some systems to determine how to
  1998. #                 open local files (currently it isn't), and is used to
  1999. #                 determine transfer mode for some FTP URLs; or a HTTP style
  2000. #                 content encoding (gzip (equivalent to x-gzip), compress)
  2001. #
  2002. #     <quality> a floating point quality factor, usually between 0.0 and 1.0
  2003. #               currently unused in most situations.
  2004. #
  2005. #     <description> text that can appear in FTP directory listings, and in
  2006. #                   local directory listings (see LIST_FORMAT, code %t)
  2007. #
  2008. # For instance the following definition maps the
  2009. # extension ".gif" to the mime type "image/gif"
  2010. .ex
  2011. #    SUFFIX:.gif:image/gif
  2012. #
  2013. # The following can be used if you have a convention to label
  2014. # HTML files in some character set that differs from your local
  2015. # default (see also ASSUME_LOCAL_CHARSET) with a different
  2016. # extension, here ".html-u8".  It also demonstrates use of the
  2017. # description field, note extra separators for omitted fields:
  2018. .ex
  2019. #    SUFFIX:.html-u8:text/html;charset=utf-8:::UTF-8 HTML
  2020. #
  2021. # The following shows how a suffix can indicate a combination
  2022. # of MIME type and compression method. (The ending ".ps.gz" should
  2023. # already be recognized by default; the form below could be used on
  2024. # systems that don't allow more than one dot in filenames.)
  2025. .ex
  2026. #    SUFFIX:.ps_gz:application/postscript:gzip::gzip'd Postscript
  2027. #
  2028. # The following is meant to match a full filename (but can match
  2029. # any file ending in "core", so be careful):
  2030. .ex
  2031. #    SUFFIX:core:application/x-core-file
  2032. #
  2033. # file suffixes are case INsensitive!
  2034. #
  2035. # The suffix definitions listed here in the default lynx.cfg file are
  2036. # similar to those normally established via src/HTInit.c.  You can change
  2037. # the defaults by editing that file or disable them, or via the global or
  2038. # personal mime.types files at run time (except for the additional fields).
  2039. # Assignments made here are overridden by entries in those files
  2040. # unless preceded with a SUFFIX_ORDER:PRECEDENCE_HERE.
  2041. #
  2042. .ex 29
  2043. #SUFFIX:.ps:application/postscript
  2044. #SUFFIX:.eps:application/postscript
  2045. #SUFFIX:.ai:application/postscript
  2046. #SUFFIX:.rtf:application/rtf
  2047. #SUFFIX:.snd:audio/basic
  2048. #SUFFIX:.gif:image/gif
  2049. #SUFFIX:.rgb:image/x-rgb
  2050. #SUFFIX:.png:image/png
  2051. #SUFFIX:.xbm:image/x-xbitmap
  2052. #SUFFIX:.tiff:image/tiff
  2053. #SUFFIX:.jpg:image/jpeg
  2054. #SUFFIX:.jpeg:image/jpeg
  2055. #SUFFIX:.mpg:video/mpeg
  2056. #SUFFIX:.mpeg:video/mpeg
  2057. #SUFFIX:.mov:video/quicktime
  2058. #SUFFIX:.hqx:application/mac-binhex40
  2059. #SUFFIX:.bin:application/octet-stream
  2060. #SUFFIX:.exe:application/octet-stream
  2061. #SUFFIX:.tar:application/x-tar
  2062. #SUFFIX:.tgz:application/x-tar:gzip
  2063. #SUFFIX:.Z::compress
  2064. #SUFFIX:.gz::gzip
  2065. #SUFFIX:.bz2:application/x-bzip2
  2066. #SUFFIX:.zip:application/zip
  2067. #SUFFIX:.lzh:application/x-lzh
  2068. #SUFFIX:.lha:application/x-lha
  2069. #SUFFIX:.dms:application/x-dms
  2070. #SUFFIX:.html:text/html
  2071. #SUFFIX:.txt:text/plain
  2072. SUFFIX:.iff:image/iff
  2073. SUFFIX:.lzx:application/octet-stream
  2074. SUFFIX:.swf:video/shockwave
  2075.  
  2076. .h2 XLOADIMAGE_COMMAND
  2077. # VMS:
  2078. # ====
  2079. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
  2080. # for viewing image content types when the DECW$DISPLAY logical
  2081. # is set.  Make it the foreign command for your system's X image
  2082. # viewer (commonly, "xv").  It can be anything that will handle GIF,
  2083. # TIFF and other popular image formats.  Freeware ports of xv for
  2084. # VMS are available in the ftp://ftp.wku.edu/vms/unsupported and
  2085. # http://www.openvms.digital.com/cd/XV310A/ subdirectories.  You
  2086. # must also have a "%s" for the filename.  The default is defined
  2087. # in userdefs.h and can be overridden here, or via the global or
  2088. # personal mailcap files (see below).
  2089. #
  2090. # Make this empty (but no commented out) if you don't have such a
  2091. # viewer or don't want to disable the built-in default viewer
  2092. # mappings for image types.
  2093. #
  2094. #XLOADIMAGE_COMMAND:xv %s
  2095.  
  2096. # Unix:
  2097. # =====
  2098. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
  2099. # viewing image content types when the DISPLAY environment variable
  2100. # is set.  Make it the full path and name of the xli (also know as
  2101. # xloadimage or xview) command, or other image viewer.  It can be
  2102. # anything that will handle GIF, TIFF and other popular image formats
  2103. # (xli does).  The freeware distribution of xli is available in the
  2104. # ftp://ftp.x.org/contrib subdirectory.  The shareware, xv, also is
  2105. # suitable.  You must also have a "%s" for the filename; "&" for
  2106. # background is optional.  The default is defined in userdefs.h and can be
  2107. # overridden here, or via the global or personal mailcap files (see below).
  2108. # Make this empty (but not commented out) if you don't have such a
  2109. # viewer or don't want to disable the built-in default viewer
  2110. # mappings for image types.
  2111. # Note that open is used as the default for NeXT, instead of the
  2112. # XLOADIMAGE_COMMAND definition.
  2113. # If you use xli, you may want to add the -quiet flag.
  2114. #
  2115. #XLOADIMAGE_COMMAND:xli %s &
  2116.  
  2117. .h2 VIEWER
  2118. # MIME types may be assigned to external viewers using
  2119. # the VIEWER definition.
  2120. #
  2121. # NOTE: if you do not define a viewer to a new MIME type
  2122. #       that you assigned above then it will be saved to
  2123. #       disk by default.
  2124. #       It is normally preferable to define new viewers in
  2125. #       MAILCAP files (see below) instead of here:  Definitions
  2126. #       here are overridden by those in MAILCAP files and even
  2127. #       by some built-in defaults in src/HTInit.c.
  2128. #
  2129. # The VIEWER definition takes the form of:
  2130. #    VIEWER:<mime type>:<viewer command>[:environment]
  2131. #      where -mime type is the MIME content type of the file
  2132. #         -viewer command is a system command that can be
  2133. #             used to display the file where %s is replaced
  2134. #             within the command with the physical filename
  2135. #             (e.g., "ghostview %s" becomes "ghostview /tmp/temppsfile")
  2136. #            -environment is optional.  The only valid keywords
  2137. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS
  2138. #             environment is specified then the viewer will only be
  2139. #             defined when the user has the environment variable DISPLAY
  2140. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  2141. #             is specified the specified viewer will only be defined when the
  2142. #             user DOES NOT have the environment variable DISPLAY defined.
  2143. #  examples:
  2144. #        VIEWER:image/gif:xli %s:XWINDOWS
  2145. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  2146. #               VIEWER:application/start-elm:elm
  2147. #
  2148. # You must put the whole definition on one line.
  2149. #
  2150. # If you must use a colon in the viewer command, precede it with a backslash!
  2151. #
  2152. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  2153. # file are among those established via src/HTInit.c.  For the image types,
  2154. # HTInit.c uses the XLOADIMAGE_COMMAND definition in userdefs.h or above
  2155. # (open is used for NeXT).  You can change any of these defaults via the
  2156. # global or personal mailcap files.  Assignments made here will be overridden
  2157. # by entries in those files.
  2158. #
  2159. .ex 7
  2160. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  2161. #VIEWER:image/gif:xli %s&:XWINDOWS
  2162. #VIEWER:image/x-xbm:xli %s&:XWINDOWS
  2163. #VIEWER:image/png:xli %s&:XWINDOWS
  2164. #VIEWER:image/tiff:xli %s&:XWINDOWS
  2165. #VIEWER:image/jpeg:xli %s&:XWINDOWS
  2166. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  2167. #
  2168. # AMIGA USERS:
  2169. # If you've executed 'Unixdirs3 UNIXROOT', you can use normal amiga
  2170. # programs as viewers.
  2171. # If Lynx says that can't found the program, you can do this:
  2172. # - Assign <path_of_the_program_you_want_use> C: ADD
  2173. # - Use the absolute path of the program in Unix style (/dh0/gfx/amp %s)
  2174. # This is a little example:
  2175. #VIEWER:image/jpeg:/sys/graficos/tools/powerview.elf %s bestmode &
  2176. VIEWER:image/*:/sys/utilities/multiview %s SCREEN &
  2177. #VIEWER:video/mpeg:/sys/graficos/tools/amp &s &
  2178. #VIEWER:video/shockwave:/sys/internet/misc/swfplayer %s >/nil &
  2179. # VIEWER:video/mpeg:amp %s &
  2180.  
  2181. .h2 GLOBAL_MAILCAP
  2182. .h2 PERSONAL_MAILCAP
  2183. # The global and personal MAILCAP files allow you to specify external
  2184. # viewers to be spawned when Lynx encounters different MIME types, which
  2185. # will override any of the suffix maps in this (lynx.cfg) configuration
  2186. # file, or in src/HTInit.c.  See http://www.internic.net/rfc/rfc1524.txt
  2187. # and the example mailcap file in the samples subdirectory.
  2188. #
  2189. # Unix:
  2190. # ====
  2191. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  2192. # VMS:
  2193. # ===
  2194. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  2195. #
  2196. #     Sought in user's home (Unix) or sys$login (VMS) directory.
  2197. #PERSONAL_MAILCAP:.mailcap
  2198.  
  2199.  
  2200. .h1 Keyboard Input
  2201.  
  2202. .h2 KEYBOARD_LAYOUT
  2203. # If your terminal (or terminal emulator, or operating system) does not
  2204. # support 8-bit input (at all or in easy way), you can use Lynx to
  2205. # generate 8-bit characters from 7-bit ones output by terminal.
  2206. #
  2207. # Currently available keyboard layouts:
  2208. #    ROT13'd keyboard layout
  2209. #    JCUKEN Cyrillic, for AT 101-key kbd
  2210. #    YAWERTY Cyrillic, for DEC LK201 kbd
  2211. #
  2212. # This feature is ifdef'd with EXP_KEYBOARD_LAYOUT.
  2213. #KEYBOARD_LAYOUT:JCUKEN Cyrillic, for AT 101-key kbd
  2214.  
  2215.  
  2216. .h2 KEYMAP
  2217. # Key remapping definitions!
  2218. #
  2219. # You may redefine the keymapping of any function in Lynx by
  2220. # using the KEYMAP option.  The basic form of KEYMAP is:
  2221. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  2222. # (See below for an extended format.)
  2223. #
  2224. # You must map upper and lowercase keys separately.
  2225. #
  2226. # A representative list of functions mapped to their default keys is
  2227. # provided below.  All of the mappings are commented out by default
  2228. # since they just repeat the default mappings, except for TOGGLE_HELP
  2229. # (see below).  See LYKeymap.c for the complete key mapping.  Use the
  2230. # 'K'eymap command when running Lynx for a list of the _current_ keymappings.
  2231. #
  2232. # (However, in contrast to the output of 'K' command,
  2233. # 'H'elp (lynx_help/*.html and lynx_help/keystrokes/*.html files) shows
  2234. # the default mapping unless you change that files manually,
  2235. # so you are responsible for possible deviations
  2236. # when you are changing any KEYMAP below).
  2237. .nf
  2238. #
  2239. # Keystrokes for special keys are represented by the following codes:
  2240. #         Up Arrow: 0x100
  2241. #       Down Arrow: 0x101
  2242. #      Right Arrow: 0x102
  2243. #       Left Arrow: 0x103
  2244. #        Page Down: 0x104
  2245. #          Page Up: 0x105
  2246. #      Keypad Home: 0x106 (see also 0x10A)
  2247. #       Keypad End: 0x107 (see also 0x10B)
  2248. #   Function key 1: 0x108
  2249. # vt100   Help Key: 0x108
  2250. # vt100     Do Key: 0x109
  2251. # vt100   Find Key: 0x10A (The key with label "Home" may be treated as Find)
  2252. # vt100 Select Key: 0x10B (The key with label "End" may be treated as Select)
  2253. #       Insert Key: 0x10C
  2254. # Remove (Del) Key: 0x10D
  2255. #      ignored key  0x10E (reserved for internal use, DO_NOTHING)
  2256. # Back (Shift) Tab: 0x10F
  2257. #    reserved code  0x11D (reserved for internal use with -use_mouse)
  2258. #    reserved code  0x290 (reserved for internal use with -use_mouse)
  2259. #
  2260. .fi
  2261. # Other codes not listed above may be available for additional keys,
  2262. # depending on operating system and libraries used to compile Lynx.
  2263. # On some systems, if compiled with recent versions of slang or ncurses
  2264. # (if macro USE_KEYMAPS was in effect during compilation), an additional
  2265. # level of key mapping is supported via an external ".lynx-keymaps" file.
  2266. # This file, if found in the home directory at startup, will always be
  2267. # used under those conditions; see lynx-keymaps distributed in the samples
  2268. # subdirectory for further explanation.  Note that mapping via
  2269. # .lynx-keymaps, if applicable, is a step that logically comes before the
  2270. # mappings done here: KEYMAP maps the result of that step (which still
  2271. # represents a key) to a function (which represents an action that Lynx
  2272. # should perform).
  2273. #
  2274. .nf
  2275. #KEYMAP:0x5C:SOURCE        # Toggle source viewing mode (show HTML source)
  2276. #KEYMAP:^R:RELOAD        # Reload the current document and redisplay
  2277. #KEYMAP:q:QUIT            # Ask the user to quit
  2278. #KEYMAP:Q:ABORT            # Quit without verification
  2279. #KEYMAP:0x20:NEXT_PAGE        # Move down to next page
  2280. #KEYMAP:-:PREV_PAGE        # Move up to previous page
  2281. #KEYMAP:^P:UP_TWO        # Move display up two lines
  2282. #KEYMAP:0x10C:UP_TWO        # Function key Insert - Move display up two lines
  2283. #KEYMAP:^N:DOWN_TWO        # Move display down two lines
  2284. #KEYMAP:0x10D:DOWN_TWO        # Function key Remove - Move display down two lines
  2285. #KEYMAP:(:UP_HALF        # Move display up half a page
  2286. #KEYMAP:):DOWN_HALF        # Move display down half a page
  2287. #KEYMAP:^W:REFRESH        # Refresh the screen
  2288. #KEYMAP:^A:HOME            # Go to top of current document
  2289. #KEYMAP:0x106:HOME        # Keypad Home - Go to top of current document
  2290. #KEYMAP:0x10A:HOME        # Function key Find - Go to top of current document
  2291. #KEYMAP:^E:END            # Go to bottom of current document
  2292. #KEYMAP:0x107:END        # Keypad End - Go to bottom of current document
  2293. #KEYMAP:0x10B:END        # Function key Select - Go to bottom of current document
  2294. #KEYMAP:0x100:PREV_LINK        # Move to the previous link or page
  2295. #KEYMAP:0x101:NEXT_LINK        # Move to the next link or page
  2296. #KEYMAP:0x10F:FASTBACKW_LINK     # Back Tab - Move to previous link or text area
  2297. #KEYMAP:^I:FASTFORW_LINK    # Tab key - Move always to next link or text area
  2298. #KEYMAP:^:FIRST_LINK        # Move to the first link on line
  2299. #KEYMAP:$:LAST_LINK        # Move to the last link on line
  2300. #KEYMAP:<:UP_LINK        # Move to the link above
  2301. #KEYMAP:>:DOWN_LINK        # Move to the link below
  2302. #KEYMAP:0x7F:HISTORY        # Show the history list
  2303. #KEYMAP:0x08:HISTORY        # Show the history list
  2304. #KEYMAP:0x103:PREV_DOC        # Return to the previous document in history stack
  2305. #KEYMAP:0x102:ACTIVATE        # Select the current link
  2306. #KEYMAP:0x109:ACTIVATE        # Function key Do - Select the current link
  2307. #KEYMAP:g:GOTO            # Goto a random URL
  2308. #KEYMAP:G:ECGOTO        # Edit the current document's URL and go to it
  2309. #KEYMAP:H:HELP            # Show default help screen
  2310. #KEYMAP:0x108:DWIMHELP        # Function key Help - Show a help screen
  2311. #KEYMAP:i:INDEX            # Show default index
  2312. #*** Edit FORM_LINK_* messages in LYMessages_en.h if you change NOCACHE ***
  2313. #KEYMAP:x:NOCACHE        # Force submission of form or link with no-cache
  2314. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  2315. #KEYMAP:z:INTERRUPT        # Interrupt network transmission
  2316. #KEYMAP:m:MAIN_MENU        # Return to the main menu
  2317. #KEYMAP:o:OPTIONS        # Show the options menu
  2318. #KEYMAP:i:INDEX_SEARCH        # Search a server based index
  2319. #KEYMAP:/:WHEREIS        # Find a string within the current document
  2320. #KEYMAP:n:NEXT            # Find next occurrence of string within document
  2321. #KEYMAP:c:COMMENT        # Comment to the author of the current document
  2322. #KEYMAP:e:EDIT            # Edit current document or form's textarea (call: ^Ve)
  2323. #KEYMAP:E:ELGOTO        # Edit the current link's URL or ACTION and go to it
  2324. #KEYMAP:=:INFO            # Show info about current document
  2325. #KEYMAP:p:PRINT            # Show print options
  2326. #KEYMAP:a:ADD_BOOKMARK        # Add current document to bookmark list
  2327. #KEYMAP:v:VIEW_BOOKMARK        # View the bookmark list
  2328. #KEYMAP:V:VLINKS        # List links visited during the current Lynx session
  2329. #KEYMAP:!:SHELL            # Spawn default shell
  2330. #KEYMAP:d:DOWNLOAD        # Download current link
  2331. #KEYMAP:j:JUMP            # Jump to a predefined target
  2332. #KEYMAP:k:KEYMAP        # Display the current key map
  2333. #KEYMAP:l:LIST            # List the references (links) in the current document
  2334. #KEYMAP:#:TOOLBAR        # Go to the Toolbar or Banner in the current document
  2335. #KEYMAP:^T:TRACE_TOGGLE        # Toggle detailed tracing for debugging
  2336. #KEYMAP:;:TRACE_LOG        # View trace log if available for the current session
  2337. #KEYMAP:*:IMAGE_TOGGLE        # Toggle inclusion of links for all images
  2338. #KEYMAP:[:INLINE_TOGGLE        # Toggle pseudo-ALTs for inlines with no ALT string
  2339. #KEYMAP:]:HEAD            # Send a HEAD request for current document or link
  2340. #*** Must be compiled with USE_EXTERNALS to enable EXTERN ***
  2341. #KEYMAP:.:EXTERN        # Run external program with url
  2342. #*** Escaping from text input fields with ^V is independent from this: ***
  2343. #KEYMAP:^V:SWITCH_DTD        # Toggle between SortaSGML and TagSoup HTML parsing
  2344. #KEYMAP:0x00:DO_NOTHING        # Does nothing (ignore this key)
  2345. #KEYMAP:0x10E:DO_NOTHING    # Does nothing (ignore this key)
  2346. #
  2347. .fi
  2348. # In addition to the bindings available by default, the following functions
  2349. # are not directly mapped to any keys by default, although some of them may
  2350. # be mapped in specific line-editor bindings (effective while in text input
  2351. # fields):
  2352. .nf
  2353. #
  2354. #KEYMAP:???:RIGHT_LINK        # Move to the link to the right
  2355. #KEYMAP:???:LEFT_LINK        # Move to the link to the left
  2356. #KEYMAP:???:LPOS_PREV_LINK    # Like PREV_LINK, last column pos if form input
  2357. #KEYMAP:???:LPOS_NEXT_LINK    # Like NEXT_LINK, last column pos if form input
  2358. #*** Only useful in form text fields , need PASS or prefixing with ^V: ***
  2359. #KEYMAP:???:DWIMHELP        # Display help page that may depend on context
  2360. #KEYMAP:???:DWIMEDIT        # Use external editor for context-dependent purpose
  2361. #*** Only useful in a form textarea, need PASS or prefixing with ^V: ***
  2362. #KEYMAP:???:EDITTEXTAREA    # use external editor to edit a form textarea
  2363. #KEYMAP:???:GROWTEXTAREA    # Add some blank lines to bottom of textarea
  2364. #KEYMAP:???:INSERTFILE        # Insert file into a textarea (just above cursor)
  2365. #*** Only useful with dired support and OK_INSTALL: ***
  2366. #KEYMAP:???:INSTALL        # install (i.e. copy) local files to new location
  2367. .fi
  2368. #
  2369. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  2370. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  2371. # LYMessages_en.h  Otherwise, it will be NOVICE_LINE_TWO.
  2372. #
  2373. #KEYMAP:O:TOGGLE_HELP        # Show other commands in the novice help menu
  2374. #
  2375. # KEYMAP lines can have one or two additional fields.  The extended format is
  2376. #  KEYMAP:<KEYSTROKE>:[<MAIN LYNX FUNCTION>]:<OTHER BINDING>[:<SELECT>]
  2377. #
  2378. # If the additional field OTHER BINDING specifies DIRED, then the function is
  2379. # mapped in the override table used only in DIRED mode.  This is only valid
  2380. # if lynx was compiled with dired support and OK_OVERRIDE defined.  A
  2381. # MAIN LYNX FUNCTION must be given (it should of course be one that makes
  2382. # sense in Dired mode), and SELECT is meaningless.  Default built-in override
  2383. # mappings are
  2384. #
  2385. #KEYMAP:^U:PREV_DOC:DIRED    # Return to the previous document
  2386. #KEYMAP:.:TAG_LINK:DIRED    # Tag a file or directory for later action
  2387. #KEYMAP:c:CREATE:DIRED        # Create a new file or directory
  2388. #KEYMAP:f:DIRED_MENU:DIRED    # Display a menu of file operations
  2389. #KEYMAP:m:MODIFY:DIRED        # Modify name or location of a file or directory
  2390. #KEYMAP:r:REMOVE:DIRED        # Remove files or directories
  2391. #KEYMAP:t:TAG_LINK:DIRED    # Tag a file or directory for later action
  2392. #KEYMAP:u:UPLOAD:DIRED        # Show menu of "Upload Options"
  2393. #
  2394. # If the OTHER BINDING field does not specify DIRED, then it is taken as a
  2395. # line-editor action.  It is possible to keep the MAIN LYNX FUNCTION field
  2396. # empty in that case, for changing only the line-editing behavior.
  2397. # If alternative line edit styles are compiled in, and modifying a key's
  2398. # line-editor binding on a per style basis is possible, then SELECT can be
  2399. # used to specify which styles are affected.  By default, or if SELECT is
  2400. # 0, all line edit styles are affected.  If SELECT is a positive integer
  2401. # number, only the binding for the numbered style is changed (numbering
  2402. # is in the order in which styles are shown in the Options Menu, starting
  2403. # with 1 for the Default style).  If SELECT is negative (-n), all styles
  2404. # except n are affected.
  2405. .nf
  2406. #
  2407. #  NOP        # Do Nothing
  2408. #  ABORT    # Input cancelled
  2409. #
  2410. #  BOL        # Go to begin of line
  2411. #  EOL        # Go to end   of line
  2412. #  FORW        # Cursor forwards
  2413. #  BACK        # Cursor backwards
  2414. #  FORWW    # Word forward
  2415. #  BACKW    # Word back
  2416. #
  2417. #  DELN        # Delete next/curr char
  2418. #  DELP        # Delete prev      char
  2419. #  DELNW    # Delete next word
  2420. #  DELPW    # Delete prev word
  2421. #  DELBL    # Delete back to BOL
  2422. #  DELEL    # Delete thru EOL
  2423. #  ERASE    # Erase the line
  2424. #  LOWER    # Lower case the line
  2425. #  UPPER    # Upper case the line
  2426. #
  2427. #  LKCMD    # In fields: Invoke key command prompt (default for ^V)
  2428. #  PASS        # In fields: handle as non-lineedit key; in prompts: ignore
  2429. #
  2430. .fi
  2431. # Modify following key (prefixing only works within line-editing, edit actions
  2432. # of some resulting prefixed keys are built-in, see Line Editor help pages)
  2433. #  SETM1    # Set modifier 1 flag (default for ^X - key prefix)
  2434. #  SETM2    # Set modifier 2 flag (another key prefix - same effect)
  2435. #
  2436. # May not always be compiled in:
  2437. .nf
  2438. #
  2439. #  TPOS        # Transpose characters
  2440. #  SETMARK    # emacs-like set-mark-command
  2441. #  XPMARK    # emacs-like exchange-point-and-mark
  2442. #  KILLREG    # emacs-like kill-region
  2443. #  YANK        # emacs-like yank
  2444. #  SWMAP    # Switch input keymap
  2445. #  PASTE    # ClipBoard to Lynx - Windows Extension
  2446. #
  2447. .fi
  2448. # May work differently from expected if not bound to their expected keys:
  2449. .nf
  2450. #
  2451. #  CHAR        # Insert printable char (default for all ASCII printable)
  2452. #  ENTER    # Input complete, return char/lynxkeycode (for RETURN/ENTER)
  2453. #  TAB        # Input complete, return TAB (for ASCII TAB char ^I)
  2454. #
  2455. .fi
  2456. # Internal use, probably not useful for binding, listed for completeness:
  2457. .nf
  2458. #
  2459. #  UNMOD    # Fall back to no-modifier command
  2460. #  AIX        # Hex 97
  2461. #  C1CHAR    # Insert C1 char if printable
  2462. #
  2463. .fi
  2464. # If OTHER BINDING specifies PASS, then if the key is pressed in a text input
  2465. # field it is passed by the built-in line-editor to normal KEYMAP handling,
  2466. # i.e. this flag acts like an implied ^V escape (always overrides line-editor
  2467. # behavior of the key).  For example,
  2468. #KEYMAP:0x10C:UP_TWO:PASS # Function key Insert - Move display up two lines
  2469. #
  2470. # Other examples (repeating built-in bindings)
  2471. #KEYMAP:^V::LKCMD    # set (only) line-edit action for ^V
  2472. #KEYMAP:^V:SWITCH_DTD:LKCMD # set main lynxaction and line-edit action for ^V
  2473. #KEYMAP:^U::ERASE:1    # set line-edit binding for ^U, for default style
  2474. #KEYMAP:^[::SETM2:3    # use escape key as modifier - works only sometimes
  2475.  
  2476.  
  2477. .h1 External Programs
  2478. # These settings control the ability of Lynx to invoke various programs for
  2479. # the user.
  2480.  
  2481. .h2 CSWING_PATH
  2482. # VMS ONLY:
  2483. #==========
  2484. # On VMS, CSwing (an XTree emulation for VTxxx terminals) is intended for
  2485. # use as the Directory/File Manager (sources, objects, or executables are
  2486. # available from ftp://narnia.memst.edu/).  CSWING_PATH should be defined
  2487. # here or in userdefs.h to your foreign command for CSwing, with any
  2488. # regulatory switches you want included.  If not defined, or defined as
  2489. # a zero-length string ("") or "none" (case-insensitive), the support
  2490. # will be disabled.  It will also be disabled if the -nobrowse or
  2491. # -selective switches are used, or if the file_url restriction is set.
  2492. #
  2493. # When enabled, the DIRED_MENU command (normally 'f' or 'F') will invoke
  2494. # CSwing, normally with the current default directory as an argument to
  2495. # position the user on that node of the directory tree.  However, if the
  2496. # current document is a local directory listing, or a local file and not
  2497. # one of the temporary menu or list files, the associated directory will
  2498. # be passed as an argument, to position the user on that node of the tree.
  2499. #
  2500. #CSWING_PATH:swing
  2501.  
  2502.  
  2503. .h1 Internal Behavior
  2504.  
  2505. .h2 AUTO_UNCACHE_DIRLISTS
  2506. # AUTO_UNCACHE_DIRLISTS determines when local file directory listings are
  2507. # automatically regenerated (by re-reading the actual directory from disk). 
  2508. # Set the value to 0 to avoid automatic regeneration in most cases.  This is
  2509. # useful for browsing large directories that take some time to read and format. 
  2510. # An update can still always be forced with the RELOAD key, and specific DIRED
  2511. # actions may cause a refresh anyway.  Set the value to 1 to force regeneration
  2512. # after commands that usually change the directory or some files and would make
  2513. # the displayed info stale, like EDIT and REMOVE.  Set it to 2 (the default) or
  2514. # greater to force regeneration even after leaving the displayed directory
  2515. # listing by some action that usually causes no change, like GOTO or entering a
  2516. # file with the ACTIVATE key.  This option is only honored in DIRED mode (i.e. 
  2517. # when lynx is compiled with DIRED_SUPPORT and it is not disabled with a
  2518. # -restriction).  Local directories displayed without DIRED normally act as if
  2519. # AUTO_UNCACHE_DIRLISTS:0 was in effect.
  2520. #
  2521. #AUTO_UNCACHE_DIRLISTS:2
  2522.  
  2523.  
  2524. .h1 Appearance
  2525.  
  2526. .h2 LIST_FORMAT
  2527. # Unix ONLY:
  2528. #===========
  2529. # LIST_FORMAT defines the display for local files when Lynx has been
  2530. # compiled with LONG_LIST defined in the Makefile.  The default is set
  2531. # in userdefs.h, normally to "ls -l" format, and can be changed here
  2532. # by uncommenting the indicated lines, or adding a definition with a
  2533. # modified parameter list.
  2534. #
  2535. # The percent items in the list are interpreted as follows:
  2536. .nf
  2537. #
  2538. #    %p    Unix-style permission bits
  2539. #    %l    link count
  2540. #    %o    owner of file
  2541. #    %g    group of file
  2542. #    %d    date of last modification
  2543. #    %a    anchor pointing to file or directory
  2544. #    %A    as above but don't show symbolic links
  2545. #    %t    type of file (description derived from MIME type)
  2546. #    %T    MIME type as known by Lynx (from mime.types or default)
  2547. #    %k    size of file in Kilobytes
  2548. #    %K    as above but omit size for directories
  2549. #    %s    size of file in bytes
  2550. #
  2551. .fi
  2552. # Anything between the percent and the letter is passed on to sprintf.
  2553. # A double percent yields a literal percent on output.  Other characters
  2554. # are passed through literally.
  2555. #
  2556. # If you want only the filename:
  2557. #
  2558. .ex
  2559. #LIST_FORMAT:    %a
  2560. #
  2561. # If you want a brief output:
  2562. #
  2563. .ex
  2564. #LIST_FORMAT:   %4K %-12.12d %a
  2565. #
  2566. # If you want the Unix "ls -l" format:
  2567. #
  2568. .ex
  2569. #LIST_FORMAT:    %p %4l %-8.8o %-8.8g %7s %-12.12d %a
  2570.  
  2571.  
  2572. .h1 External Programs
  2573.  
  2574. .h2 DIRED_MENU
  2575. # Unix ONLY:
  2576. #===========
  2577. # DIRED_MENU items are used to compose the F)ull menu list in DIRED mode
  2578. # The behavior of the default configuration given here is much the same
  2579. # as it was when this menu was hard-coded but these items can now be adjusted
  2580. # to suit local needs.  In particular, many of the LYNXDIRED actions can be
  2581. # replaced with lynxexec, lynxprog and lynxcgi script references.
  2582. #
  2583. # NOTE that defining even one DIRED_MENU line overrides all the built-in
  2584. # definitions, so a complete set must then be defined here.
  2585. #
  2586. # Each line consists of the following fields:
  2587. .nf
  2588. #
  2589. #    DIRED_MENU:type:suffix:link text:extra text:action
  2590. #
  2591. #    type: TAG:   list only when one or more files are tagged
  2592. #          FILE:  list only when the current selection is a regular file
  2593. #          DIR:   list only when the current selection is a directory
  2594. #          LINK:  list only when the current selection is a symbolic link
  2595. #
  2596. #    suffix:  list only if the current selection ends in this pattern
  2597. #
  2598. #    link text:  the displayed text of the link
  2599. #
  2600. #    extra text:  the text displayed following the link
  2601. #
  2602. #    action:  the URL to be followed upon selection
  2603. #
  2604. #    link text and action are scanned for % sequences that are expanded
  2605. #    at display time as follows:
  2606. #
  2607. #        %p  path of current selection
  2608. #        %f  filename (last component) of current selection
  2609. #        %t  tagged list (full paths)
  2610. #        %l  list of tagged file names
  2611. #        %d  the current directory
  2612. #
  2613. .fi
  2614. #DIRED_MENU:::New File:(in current directory):LYNXDIRED://NEW_FILE%d
  2615. #DIRED_MENU:::New Directory:(in current directory):LYNXDIRED://NEW_FOLDER%d
  2616.  
  2617. # Following depends on OK_INSTALL
  2618. #DIRED_MENU:FILE::Install:selected file to new location:LYNXDIRED://INSTALL_SRC%p
  2619. #DIRED_MENU:DIR::Install:selected directory to new location:LYNXDIRED://INSTALL_SRC%p
  2620.  
  2621. #DIRED_MENU:FILE::Modify File Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2622. #DIRED_MENU:DIR::Modify Directory Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2623. #DIRED_MENU:LINK::Modify Name:(of selected symbolic link):LYNXDIRED://MODIFY_NAME%p
  2624.  
  2625. # Following depends on OK_PERMIT
  2626. #DIRED_MENU:FILE::Modify File Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2627. #DIRED_MENU:DIR::Modify Directory Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2628.  
  2629. #DIRED_MENU:FILE::Change Location:(of selected file):LYNXDIRED://MODIFY_LOCATION%p
  2630. #DIRED_MENU:DIR::Change Location:(of selected directory):LYNXDIRED://MODIFY_LOCATION%p
  2631. #DIRED_MENU:LINK::Change Location:(of selected symbolic link):LYNXDIRED://MODIFY_LOCATION%p
  2632. #DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2633. #DIRED_MENU:DIR::Remove Directory:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2634. #DIRED_MENU:LINK::Remove Symbolic Link:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2635.  
  2636. # Following depends on OK_UUDECODE and !ARCHIVE_ONLY
  2637. #DIRED_MENU:FILE::UUDecode:(current selection):LYNXDIRED://UUDECODE%p
  2638.  
  2639. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2640. #DIRED_MENU:FILE:.tar.Z:Expand:(current selection):LYNXDIRED://UNTAR_Z%p
  2641.  
  2642. # Following depend on OK_TAR and OK_GZIP and !ARCHIVE_ONLY
  2643. #DIRED_MENU:FILE:.tar.gz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2644. #DIRED_MENU:FILE:.tgz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2645.  
  2646. # Following depends on !ARCHIVE_ONLY
  2647. #DIRED_MENU:FILE:.Z:Uncompress:(current selection):LYNXDIRED://DECOMPRESS%p
  2648.  
  2649. # Following depends on OK_GZIP and !ARCHIVE_ONLY
  2650. #DIRED_MENU:FILE:.gz:Uncompress:(current selection):LYNXDIRED://UNGZIP%p
  2651.  
  2652. # Following depends on OK_ZIP and !ARCHIVE_ONLY
  2653. #DIRED_MENU:FILE:.zip:Uncompress:(current selection):LYNXDIRED://UNZIP%p
  2654.  
  2655. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2656. #DIRED_MENU:FILE:.tar:UnTar:(current selection):LYNXDIRED://UNTAR%p
  2657.  
  2658. # Following depends on OK_TAR
  2659. #DIRED_MENU:DIR::Tar:(current selection):LYNXDIRED://TAR%p
  2660.  
  2661. # Following depends on OK_TAR and OK_GZIP
  2662. #DIRED_MENU:DIR::Tar and compress:(using GNU gzip):LYNXDIRED://TAR_GZ%p
  2663.  
  2664. # Following depends on OK_ZIP
  2665. #DIRED_MENU:DIR::Package and compress:(using zip):LYNXDIRED://ZIP%p
  2666.  
  2667. #DIRED_MENU:FILE::Compress:(using Unix compress):LYNXDIRED://COMPRESS%p
  2668.  
  2669. # Following depends on OK_GZIP
  2670. #DIRED_MENU:FILE::Compress:(using gzip):LYNXDIRED://GZIP%p
  2671.  
  2672. # Following depends on OK_ZIP
  2673. #DIRED_MENU:FILE::Compress:(using zip):LYNXDIRED://ZIP%p
  2674.  
  2675. #DIRED_MENU:TAG::Move all tagged items to another location.::LYNXDIRED://MOVE_TAGGED%d
  2676.  
  2677. # Following depends on OK_INSTALL
  2678. #DIRED_MENU:TAG::Install tagged files into another directory.::LYNXDIRED://INSTALL_SRC%00
  2679.  
  2680. #DIRED_MENU:TAG::Remove all tagged files and directories.::LYNXDIRED://REMOVE_TAGGED
  2681. #DIRED_MENU:TAG::Untag all tagged items.::LYNXDIRED://CLEAR_TAGGED
  2682.  
  2683.  
  2684. .h1 Internal Behavior
  2685.  
  2686. .h2 NONRESTARTING_SIGWINCH
  2687. # Some systems only:
  2688. #===================
  2689. # Lynx tries to detect window size changes with a signal handler for
  2690. # SIGWINCH if supported.  If NONRESTARTING_SIGWINCH is set to TRUE,
  2691. # and the sigaction interface is available on the system, the handler
  2692. # is installed as 'non-restarting'.  On some systems (depending on the
  2693. # library used for handling keyboard input, e.g. ncurses), this allows
  2694. # more immediate notification of window size change events.  If the value
  2695. # is set to FALSE, the signal() interface is used; this normally makes
  2696. # the handler 'restarting', with the effect that lynx can react to size
  2697. # changes only after some key is pressed.  The value can also be set to
  2698. # XWINDOWS; this is equivalent to TRUE when the user has the environment
  2699. # variable DISPLAY defined *at program start*, and equivalent to FALSE
  2700. # otherwise.  The non-restarting behavior can also be changed to TRUE
  2701. # or FALSE with the -nonrestarting_sigwinch switch, which overrides the
  2702. # value in this file.
  2703. #
  2704. # Note that Lynx never re-parses document text purely as a result of a
  2705. # window size change, so text lines may appear truncated after narrowing
  2706. # the window, until the document is reloaded with ^R or a similar key
  2707. # or until a different text is loaded.
  2708. #
  2709. # The default is FALSE since there is a possibility that non-restarting
  2710. # interrupts may be mis-interpreted as fatal input errors in some
  2711. # configurations (leading to an abrupt program exit), and since this
  2712. # option is useful mostly only for users running Lynx under xterm or a
  2713. # similar X terminal emulator.  On systems where the preconditions don't
  2714. # apply this option is ignored.
  2715. #
  2716. #NONRESTARTING_SIGWINCH:FALSE
  2717.  
  2718.  
  2719. .h2 NO_FORCED_CORE_DUMP
  2720. # Unix ONLY:
  2721. #===========
  2722. # If NO_FORCED_CORE_DUMP is set to TRUE, Lynx will not force
  2723. # core dumps via abort() calls on fatal errors or assert()
  2724. # calls to check potentially fatal errors.  The compilation
  2725. # default normally is FALSE, and can be changed here.  The
  2726. # compilation or configuration default can be toggled via
  2727. # the -core command line switch.
  2728. # Note that this setting cannot be used to prevent core dumps
  2729. # with certainty.  If this is important, means provided by the
  2730. # operating system or kernel should be used.
  2731. #
  2732. #NO_FORCED_CORE_DUMP:FALSE
  2733.  
  2734.  
  2735. .h1 Appearance
  2736.  
  2737. .h2 COLOR
  2738. # COLORS (only available if compiled with SVr4 curses or slang)
  2739. #
  2740. # The line must be of the form:
  2741. #
  2742. # COLOR:Integer:Foreground:Background
  2743. .nf
  2744. #
  2745. # The Integer value is interpreted as follows:
  2746. #   0 - normal                      - normal text
  2747. #   1 - bold                        - hyperlinks, see also BOLD_* options above
  2748. #   2 - reverse                     - statusline
  2749. #   3 - bold + reverse              (not used)
  2750. #   4 - underline                   - text emphasis (EM, I, B tags etc.)
  2751. #   5 - bold + underline            - hyperlinks within text emphasis
  2752. #   6 - reverse + underline         - currently selected hyperlink
  2753. #   7 - reverse + underline + bold  - WHEREIS search hits
  2754. #
  2755. # Each Foreground and Background value must be one of:
  2756. #   black         red            green         brown
  2757. #   blue          magenta        cyan          lightgray
  2758. #   gray          brightred      brightgreen   yellow
  2759. #   brightblue    brightmagenta  brightcyan    white
  2760. #
  2761. .fi
  2762. # or (if you have configured using --enable-default-colors with ncurses or
  2763. # slang), "default" may be used for foreground and background.
  2764. #
  2765. # Uncomment and change any of the compilation defaults.
  2766. #
  2767. #COLOR:0:black:white
  2768. #COLOR:1:blue:white
  2769. #COLOR:2:yellow:blue
  2770. #COLOR:3:green:white
  2771. #COLOR:4:magenta:white
  2772. #COLOR:5:blue:white
  2773. #COLOR:6:red:white
  2774. #COLOR:7:magenta:cyan
  2775. #
  2776. # AMIGA USERS:
  2777. # I've found that black,red,green and brown correspond to the first four
  2778. # palette colors; blue, magenta, cyan and lightgray to the last
  2779. # ones; gray, brightred, brightgreen, and yellow to the second four colors,
  2780. # and brightblue, brightmagenta, brightcyan, and white to the third four
  2781. # ones. (The amiga-f terminal can use up to 16 colours)
  2782. # I've set the following COLOR definitions to work fine in
  2783. # my 8-Color WB, but modify it if you don't like it doesn't
  2784. # match with your palette preset.
  2785. #
  2786. COLOR:0:red:black
  2787. COLOR:1:brown:black
  2788. COLOR:2:red:green
  2789. COLOR:3:green:black
  2790. COLOR:4:red:lightgray
  2791. COLOR:5:green:brown
  2792. COLOR:6:brown:green
  2793. COLOR:7:lightgray:brown
  2794.  
  2795. .h2 ASSUMED_COLOR
  2796. # If built with a library that recognizes default colors, initializes it
  2797. # to assume the corresponding foreground and background colors.  Default
  2798. # colors are those that the terminal (emulator) itself is initialized to.
  2799. # For instance, you might have an xterm running with black text on a white
  2800. # background, and want lynx to display colored text on the white background,
  2801. # but leave the possibility of using the same configuration to draw colored
  2802. # text on a different xterm, this time using its background set to black.
  2803. #
  2804. # The first value given is the foreground, the second is the background.
  2805. #ASSUMED_COLOR:default:default
  2806.  
  2807.  
  2808. .h1 External Programs
  2809.  
  2810. .h2 EXTERNAL
  2811. # External application support.  This feature allows Lynx to pass a given
  2812. # URL to an external program.  It was written for three reasons.
  2813. #
  2814. # 1) To overcome the deficiency    of Lynx_386 not supporting ftp and news.
  2815. #    External programs can be used instead by passing the URL.
  2816. #
  2817. # 2) To allow for background    transfers in multitasking systems.
  2818. #    I use wget for http and ftp transfers via the external command.
  2819. #
  2820. # 3) To allow for new URLs to be used through Lynx.
  2821. #      URLs can be made up such as mymail: to spawn desired applications
  2822. #      via the external command.
  2823. #
  2824. # Restrictions can be imposed using -restrictions=externals at the Lynx
  2825. # command line.  This will disallow all EXTERNAL lines in lynx.cfg that
  2826. # end in FALSE.  TRUE lines will still function.
  2827. #
  2828. # The lynx.cfg line is as follows:
  2829. #
  2830. # EXTERNAL:<url>:<command> %s:<norestriction>
  2831. #
  2832. # <url> Any given URL.  This can be normal ones like ftp or http or it
  2833. # can be one made up like mymail.
  2834. #
  2835. # <command> The command to run with %s being the URL that will be passed.
  2836. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for
  2837. # downloading http and ftp files in the background.  In Win95 I use
  2838. # "start ncftp %s" to spawn ncftp in a new window.
  2839. #
  2840. # <norestriction> This complements the -restrictions=externals feature to allow
  2841. # for certain externals to be enabled while restricting others.  TRUE means
  2842. # a command will still function while Lynx is restricted.  WB
  2843. #
  2844. # For invoking the command use the EXTERN key.  By default it is mapped
  2845. # to '.' (if the feature is enabled), see the KEYMAP section above.
  2846. #
  2847. #EXTERNAL:ftp:wget %s &:TRUE
  2848. EXTERNAL:http:wget -q %s &:TRUE
  2849. EXTERNAL:ftp:wget -q %s &:TRUE
  2850.  
  2851. .h1 Internal Behavior
  2852.  
  2853. .h2 RULE
  2854. .h2 RULESFILE
  2855. # CERN-style rules, EXPERIMENTAL  -  URL-specific rules
  2856. #
  2857. # A CERN-style rules file can be given with RULESFILE.  Use the system's
  2858. # native format for filenames, on Unix '~' is also recognized.  If a filename
  2859. # is given, the file must exist.
  2860. #
  2861. # Single CERN-style rules can be specified with RULES.
  2862. #
  2863. # Both options can be repeated, rules accumulate in the order
  2864. # given, they will be applied in first-to-last order.  See cernrules.txt
  2865. # in the samples subdirectory for further explanation.
  2866. #
  2867. # Examples:
  2868. .ex 5
  2869. #    RULESFILE:/etc/lynx/cernrules
  2870. #    RULE:Fail    gopher:*             # reject by scheme
  2871. #    RULE:Pass    finger://*@localhost/         # allow this,
  2872. #    RULE:Fail    finger:*             # but not others
  2873. #    RULE:Redirect    http://old.server/*    http://new.server/*
  2874.  
  2875.  
  2876. .h1 Appearance
  2877.  
  2878. .h2 PRETTYSRC
  2879. # Enable pretty source view
  2880. #PRETTYSRC:FALSE
  2881.  
  2882. .h2 PRETTYSRC_SPEC
  2883. # Pretty source view settings. These settings are in effect when -prettysrc
  2884. # is specified.
  2885. # The following lexical elements (lexemes) are recognized:
  2886. # comment, tag, attribute, attribute value, generalized angle brackets (
  2887. # '<' '>' '</' ), entity, hyperlink destination, entire file, bad sequence,
  2888. # bad tag, bad attribute, sgml special.
  2889. #  The following group of option tells which styles will surround each
  2890. # lexeme. The syntax of option in this group is:
  2891. #PRETTYSRC_SPEC:<LEXEMENAME>:<TAGSPEC>:<TAGSPEC>
  2892. # The first <TAGSPEC> specifies what tags will precede lexemes of that class
  2893. # in the internal html markup. The second - what will be placed (internally)
  2894. # after it.
  2895. # TAGSPEC has the following syntax:
  2896. # <TAGSPEC>:= [ (<TAGOPEN> | <TAGCLOSE>) <SPACE>+ ]*
  2897. # <TAGOPEN>:= tagname[.classname]
  2898. # <TAGCLOSE>:= !tagname
  2899. #
  2900. # The following table gives correspondence between lexeme and lexeme name
  2901. .nf
  2902. # Lexeme                   LEXEMENAME  FURTHER EXPLANATION
  2903. # =========================================================
  2904. # comment                  COMM
  2905. # tag                      TAG         recognized tag name only
  2906. # attribute                ATTRIB
  2907. # attribute value          ATTRVAL
  2908. # generalized brackets     ABRACKET    <  >  </
  2909. # entity                   ENTITY
  2910. # hyperlink destination    HREF
  2911. # entire file              ENTIRE
  2912. # bad sequence             BADSEQ      bad entity or invalid construct at text
  2913. #                                      level.
  2914. # bad tag                  BADTAG      Unrecognized construct in generalized
  2915. #                                      brackets.
  2916. # bad attribute            BADATTR     The name of the attribute unknown to lynx
  2917. #                                      of the tag known to lynx. (i.e.,
  2918. #                                      attributes of unknown tags will have
  2919. #                                      markup of  ATTRIB)
  2920. # sgml special             SGMLSPECIAL doctype, sgmlelt, sgmlele,
  2921. #                                      sgmlattlist, marked section, identifier
  2922. .fi
  2923. #
  2924. # Notes:
  2925. #
  2926. # 1) The markup for HTML_ENTIRE will be emitted only once - it will surround
  2927. #    entire file source.
  2928. #
  2929. # 2) The tagnames specified by TAGSPEC should be valid html tag names.
  2930. #
  2931. # 3) If the tag/class combination given by TAGOPEN is not assigned a color
  2932. #    style in lss file (for lynx compiled with lss support), that tag/class
  2933. #    combination will be emitted anyway during internal html markup. Such
  2934. #    combinations will be also reported to the trace log.
  2935. #
  2936. # 4) Lexeme 'tag' means tag name only
  2937. #
  2938. # 5) Angle brackets of html specials won't be surrounded by markup for ABRACKET
  2939. #
  2940. .ex
  2941. # PRETTYSRC_SPEC:COMM:B I:!I !B
  2942. #           HTML comments will be surrounded by <b><i> and </i></b> in the
  2943. #           internal html markup
  2944. .ex
  2945. # PRETTYSRC_SPEC:ATTRVAL: span.attrval : !span
  2946. #           Values of the attributes will be surrounded by the
  2947. #           <SPAN class=attrval> </SPAN>
  2948. .ex
  2949. # PRETTYSRC_SPEC:HREF::
  2950. #           No special html markup will surround hyperlink destinations (
  2951. #           this means that only default color style for hrefs will be applied
  2952. #           to them)
  2953. #
  2954. # For lynx compiled with lss support, the following settings are the default:
  2955. #PRETTYSRC_SPEC:COMM:span.htmlsrc_comment:!span
  2956. #PRETTYSRC_SPEC:TAG:span.htmlsrc_tag:!span
  2957. #PRETTYSRC_SPEC:ATTRIB:span.htmlsrc_attrib:!span
  2958. #PRETTYSRC_SPEC:ATTRVAL:span.htmlsrc_attrval:!span
  2959. #PRETTYSRC_SPEC:ABRACKET:span.htmlsrc_abracket:!span
  2960. #PRETTYSRC_SPEC:ENTITY:span.htmlsrc_entity:!span
  2961. #PRETTYSRC_SPEC:HREF:span.htmlsrc_href:!span
  2962. #PRETTYSRC_SPEC:ENTIRE:span.htmlsrc_entire:!span
  2963. #PRETTYSRC_SPEC:BADSEQ:span.htmlsrc_badseq:!span
  2964. #PRETTYSRC_SPEC:BADTAG:span.htmlsrc_badtag:!span
  2965. #PRETTYSRC_SPEC:BADATTR:span.htmlsrc_badattr:!span
  2966. #PRETTYSRC_SPEC:SGMLSPECIAL:span.htmlsrc_sgmlspecial:!span
  2967. # the styles corresponding to them are present in sample .lss file.
  2968. # For lynx compiled without lss support, the following settings are the default:
  2969. #PRETTYSRC_SPEC:COMM:b:!b
  2970. #PRETTYSRC_SPEC:TAG:b:!b
  2971. #PRETTYSRC_SPEC:ATTRIB:b:!b
  2972. #PRETTYSRC_SPEC:ATTRVAL::
  2973. #PRETTYSRC_SPEC:ABRACKET:b:!b
  2974. #PRETTYSRC_SPEC:ENTITY:b:!b
  2975. #PRETTYSRC_SPEC:HREF::
  2976. #PRETTYSRC_SPEC:ENTIRE::
  2977. #PRETTYSRC_SPEC:BADSEQ:b:!b
  2978. #PRETTYSRC_SPEC:BADTAG::
  2979. #PRETTYSRC_SPEC:BADATTR::
  2980. #PRETTYSRC_SPEC:SGMLSPECIAL:b:!b
  2981.  
  2982.  
  2983. .h2 HTMLSRC_ATTRNAME_XFORM
  2984. .h2 HTMLSRC_TAGNAME_XFORM
  2985. # Options HTMLSRC_TAGNAME_XFORM and HTMLSRC_ATTRNAME_XFORM control the way the
  2986. # names of tags and names of attributes are transformed correspondingly.
  2987. # Possible values: 0 - lowercase, 1 - leave as is, 2 - uppercase.
  2988. #HTMLSRC_TAGNAME_XFORM:2
  2989. #HTMLSRC_ATTRNAME_XFORM:2
  2990.  
  2991.  
  2992. .h2 PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING
  2993. # PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING - pretty source view setting
  2994. # If "keypad mode" in 'O'ptions screen is "Links are numbered" or
  2995. # "Links and form fields are numbered", and PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING is
  2996. # TRUE, then links won't be numbered in psrc view and will be numbered
  2997. # otherwise. Set this setting to TRUE if you prefer numbered links, but wish
  2998. # to get valid HTML source when printing or mailing when in psrc view.
  2999. # Default is FALSE.
  3000. #PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:FALSE
  3001.  
  3002.  
  3003. .h1 HTML Parsing
  3004.  
  3005. .h2 FORCE_EMPTY_HREFLESS_A
  3006. # FORCE_EMPTY_HREFLESS_A - HTML parsing
  3007. # This option mirrors command-line option with the same name.  Default is
  3008. # FALSE.  If true, then any 'A' element without HREF will be closed
  3009. # immediately.  This is useful when viewing documentation produced by broken
  3010. # translator that doesn't emit balanced A elements.  If lynx was compiled with
  3011. # color styles, setting this option to TRUE will make lynx screen much more
  3012. # reasonable (otherwise all text will probably have color corresponding to the
  3013. # A element).
  3014. #
  3015. #FORCE_EMPTY_HREFLESS_A:FALSE
  3016.  
  3017.  
  3018. .h1 Appearance
  3019.  
  3020. .h2 JUSTIFY
  3021. # JUSTIFY - Appearance
  3022. # This option mirrors command-line option with same name.  Default is TRUE.  If
  3023. # true, most of text (except headers and like this) will be justified.  This
  3024. # has no influence on CJK text rendering.
  3025. #
  3026. # This option is only available if Lynx was compiled with EXP_JUSTIFY_ELTS.
  3027. #
  3028. #JUSTIFY:TRUE
  3029.  
  3030. .h2 JUSTIFY_MAX_VOID_PERCENT 
  3031. # JUSTIFY_MAX_VOID_PERCENT - Appearance
  3032. # This option controls the maximum allowed value for ratio (in percents) of
  3033. # 'the number of spaces to spread across the line to justify it' to
  3034. # 'max line size for current style and nesting' when justification is allowed.
  3035. # When that ratio exceeds the value specified, that particular line won't be
  3036. # justified. I.e. the value 28 for this setting will mean maximum value for
  3037. # that ratio is 0.28.
  3038. #
  3039. #JUSTIFY_MAX_VOID_PERCENT:35
  3040.  
  3041.  
  3042. .h1 Interaction
  3043.  
  3044. .h2 TEXTFIELDS_NEED_ACTIVATION
  3045. # If TEXTFIELDS_NEED_ACTIVATION is set to TRUE, and lynx was compiled with
  3046. # TEXTFIELDS_MAY_NEED_ACTIVATION defined, then text input form fields need
  3047. # to be activated (by pressing the Enter key or similar) before the user
  3048. # can enter or modify input.  By default, input fields become automatically
  3049. # activated when selected.  Requiring explicit activation can be desired for
  3050. # users who use alphanumeric keys for navigation (or other keys that have
  3051. # special meaning in the line editor - ' ', 'b', INS, DEL, etc), and don't
  3052. # want to 'get stuck' in form fields.  Instead of setting the option here,
  3053. # explicit activation can also be requested with the -tna command line
  3054. # option.
  3055. #
  3056. #TEXTFIELDS_NEED_ACTIVATION:FALSE
  3057.  
  3058. .h2 LEFTARROW_IN_TEXTFIELD_PROMPT
  3059. # LEFTARROW_IN_TEXTFIELD_PROMPT
  3060. # This option controls what happens when a Left Arrow key is pressed while
  3061. # in the first position of an active text input field.  By default, Lynx
  3062. # asks for confirmation ("Do you want to go back to the previous document?")
  3063. # only if the contents of the fields have been changed since entering it.
  3064. # If set to TRUE, the confirmation prompt is always issued.
  3065. #
  3066. #LEFTARROW_IN_TEXTFIELD_PROMPT:FALSE
  3067.  
  3068.  
  3069. .h1 Timeouts
  3070.  
  3071. .h2 CONNECT_TIMEOUT
  3072. # Specifies (in seconds) connect timeout. Not available under DOS (use
  3073. # sockdelay parameter of wattcp). Default value is rather huge.
  3074. #CONNECT_TIMEOUT:18000
  3075.  
  3076.  
  3077. .h1 Internal Behavior
  3078. # These settings control internal lynx behavior - the way it interacts with the
  3079. # operating system and Internet.  Modifying these settings will not change
  3080. # the rendition of documents that you browse with lynx, but can change various
  3081. # delays and resource utilization.
  3082.  
  3083. .h2 FTP_PASSIVE
  3084. # Set FTP_PASSIVE to TRUE if you want to use passive mode ftp transfers.
  3085. # You might have to do this if you're behind a restrictive firewall.
  3086. #FTP_PASSIVE:FALSE
  3087.